Latest Laravel/PHP Articles

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


When you are working with a one-to-many relationship, it is sometimes the case that a particular instance on the "many" side of the relationship is flagged as u...
At work I decided to show git rebase the love it deserves with a brown bag session and had a lot of fun doing it so thought I'd record it and share it publicly....
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...
Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
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...
Read the full article on Laravel News.
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...
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
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,...
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...
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...
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
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.
Read the full article on Laravel News.
Read the full article on Laravel News.