Latest Laravel/PHP Articles

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


I get asked a lot about how you work with Laravel. So in this tutorial, I will walk through my typical approach to building a Laravel application. We will creat...
Recently I came across a unique approach to loading routes into Laravel applications, and I wanted to share this with you. It allows you to create Route Registr...
As developers, the chance of you having a personal website is pretty high. After all, it is what we do - and most likely, you have rebuilt this countless times....
Digital Ocean Providing developers and businesses a reliable, easy-to-use cloud computing platform of virtual servers (Droplets), object storage ( Spaces), and more.
Sharing code has never been more accessible, and installing PHP packages has become convenient; building packages however? In this tutorial, I will walk through...
Building APIs in Laravel is a passion of mine, and I have spent a lot of time searching for the perfect way to return consistent JSON:API friendly resources so...
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. In this...
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...
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Working with third-party APIs can be frustrating; we get JSON responses which in PHP will be represented as a plain old array - and we send data as arrays too....
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...
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...
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...
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.

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