Latest Laravel/PHP Articles

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


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...
Over the last few years static analysis in PHP, and more specifically Laravel, has become more and more popular. With more people adopting it into their Softwar...
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...
Digital Ocean Providing developers and businesses a reliable, easy-to-use cloud computing platform of virtual servers (Droplets), object storage ( Spaces), and more.
Laravel celebrated its 10th-anniversary last year. Today it is the most popular PHP framework used by thousands of developers. The ecosystem around Laravel is h...

www.juststeveking.uk

Laravel Command Bus
In Laravel 5.1 the Command Bus was replaced with Dispatchable Jobs, we can still use them but let us also look at how to add a Command Bus. To start using a com...

www.juststeveking.uk

Laravel subdomains in Docker
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? In t...
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...
CodeMentor Codementor is an online marketplace connecting developers with experts for on- demand 1:1 help via screen sharing, video, and text chat.
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.
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...

www.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. They all have their own way...
In a typical Laravel application we are very used to doing things in a certain way, by the book as they say. However there comes a point in the applications lif...
CodeMentor Codementor is an online marketplace connecting developers with experts for on- demand 1:1 help via screen sharing, video, and text chat.
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: “...

www.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. It allows you to abstract the implementation to...
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...