Latest Laravel/PHP Articles

Latest Laravel/PHP Articles curated daily from around the web.


I made an assumption. I, for no reason at all, always assumed Laravel's Policy authorization and Route Model Binding functionality were only meant to be used wi...
This talk was given at the 2020 LaraconUS / Online conference. You can find all the talks from previous years in the Laracon Online showcase. When you take the...
Read the full article on Laravel News.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
In this video we look at how you can avoid false positives in your tests by making use of magic values. I'll show you some tests that seem to be passing, but in...
When migrating a classic foreign key constrained relationship, such as belongsTo, over to a polymorphic relationship, you've got to be very sure you've covered...
I have been using a helper trait to make working with middleware arguments feel nicer. I'm going to walk through the current way we can pass arguments to middle...
This blog post is an in-depth walk though of a tweet I sent out a few weeks ago. You can probably get everything you need from the tweet and the comments on it,...
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
I just read Freek's blog post on the void return type (which you should check out), and it reminded me of this pattern I dig and thought I'd write up a quick po...
I saw a conversation on Twitter the other day discussing how Laravel was slowing down a test suite. I decided I wanted to dig into this and see if there was any...
I was recently helping out on an open source issue where the developer was having trouble catching exceptions the library was throwing.
Maintaining a performant web application is an on-going task. On launch you might have requests flying out the door at maximum speed.
CodeMentor Codementor is an online marketplace connecting developers with experts for on- demand 1:1 help via screen sharing, video, and text chat.
Read the full article on Laravel News.
Read the full article on Laravel News.
I gave a talk on this topic at LaraconAU, 2019. It covers all the ways custom collections can improve your systems design and contains some more guidance on whe...
It is often useful to show the number of related models a given instance has, but not actually need any specific information about the related models, just how...