Latest Laravel/PHP Articles

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


Eloquent Castable attributes are one of the more powerful features of Laravel; some people use them religiously while others tend to shy away from them. You can...
We have all needed to add some sort of search to our applications before, and a lot of the time we leaned towards Algolia and Laravel Scout - because it worked...

juststeveking.uk

Laravel Pint
The long-awaited hype train is finally over, Laravels latest open source CLI app has been released to the world, and we got our hands on it to tell you all abou...
Digital Ocean Providing developers and businesses a reliable, easy-to-use cloud computing platform of virtual servers (Droplets), object storage ( Spaces), and more.
The biggest issue with working with third-party APIs is that we have very little visibility. We integrate them into our code base and test them - but we have no...
We have all been there, we want to integrate with a 3rd party API in Laravel and we ask ourselves “How should I do this?“. When it comes to API integrations I a...
Over the last few years static analysis in PHP, and more specifically Laravel, has become more and more popular. Up until this point I had struggled getting a g...

juststeveking.uk

Sauber PHP
I have used a lot of different frameworks in my career, from Zend(Laminas) to Yii, Cake to Codeignitor, SlimPHP to Laravel and more. I have always been a fan of...
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
There are many ways you can add Docker to your Laravel application, but how do you add docker to your Laravel application when you need sub domain support? Crea...
I have been building CLI apps for a long time, from simple bash/perl scripts back when I was a System Admin - and now using things like PHP Go or Rust. Let’s wa...

juststeveking.uk

Adapter Pattern
Of all of the design patterns you could use in your code, the adapter pattern is one of my all time favourites. so you can switch implementation simply by switc...
I get asked about API response testing a lot, how should you do it, and where to start. I have a general rule when it comes to testing APIs, and that rule is: “...
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.
In a normal Laravel application we store all of our routes within web.php or api.php typically, however how does this work with our Domain Driven Design approac...
I recently saw an awesome tweet while browsing twitter which introduced this idea of tappable query scopes, and wanted to share it and dig into it a little more...
In the last instalment we spoke about using a simplified version of the CQRS pattern to create commands. This time we are going to talk about the other side to...
In our previous blog post we set up our Laravel application to use Domain Driven Design, and we did this in a way that would let us expand and add new domains a...