Latest Laravel/PHP Articles

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


BDD, or Behavioural Driven Development, is a popular testing approach in many organizations and has a proven track record for uniting testing efforts across tea...
The data model is one of the most important parts of any Laravel application. Many systems will be designed around this data model, so it is typically one of th...
Content management is a very opinionated topic, and everyone has their favorite platform they like to use. Statamic is a fantastic content management package yo...
Digital Ocean Providing developers and businesses a reliable, easy-to-use cloud computing platform of virtual servers (Droplets), object storage ( Spaces), and more.
When working with Eloquent Models, it is common to tap into the events dispatched through the Models lifecycle. This example will assign the model’s UUID proper...
Sometimes you need to work with OS-level commands from your PHP application. Let’s look at how we can do this and see if we can make the Developer Experience ni...
Event Sourcing is a term that has been getting more popular in the PHP community over the last few years, but it still remains a mystery to many developers. Thi...
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. The...
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
The ability to open a terminal anywhere and just run a command to do a job that might have taken you much longer. Opening the browser going to the right page, l...
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...
Laravel Model factories are one of the best features you can use in your application when it comes to testing. Let’s look at the Eloquent Model for this example...
Sharing code has never been more accessible, and installing PHP packages has become convenient; building packages however? In this tutorial, I will walk through...
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.
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....
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...
Laravel celebrated its 10th-anniversary last year. Today it is the most popular PHP framework used by thousands of developers. Each year https://twitte...
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....