Latest Laravel/PHP Articles

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


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...
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.
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...
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.

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...
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: “...
Sending API requests in any PHP framework has always been a little bit of a manual process, yes you can create an SDK or wrapper - but you are still having to d...
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...
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
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...
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 have been working with 3rd party APIs for longer than I care to admit, over time I have found a few ways that work nicely for me. In particular when working w...
I have been working with 3rd party APIs for a very long time. Each time I usually either pull in their SDK, if there is one available, or I build a wrapper arou...
CodeMentor Codementor is an online marketplace connecting developers with experts for on- demand 1:1 help via screen sharing, video, and text chat.
Not that long ago I published my latest package, Laravel Feature Flags, which is a simple to use feature flag implementation for Laravel.
In our last instalment we spoke about how we can use data objects and data object factories to escape what I call “array hell”, a place where we have no idea wh...
Recently I have been scratching my head over PSR-18. As a new PSR there isn’t a lot of information around it, but I saw that as a challenge. I decided to accept...
I would like to announce my latest package uri-builder which is a fluent interface for building a URI string. Now, it might sound simple - and you might wonder...