Latest Laravel/PHP Articles

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


Laravel has a fantastic dependency injection container, yet many people shy away from it. In this tutorial, I will walk through how I lean on Laravels container...
Code duplication is the most painful thing for a lot of developers, you think you have solved the problem, but there are several instances of the same issue.
Laravel Pint is the hot new thing from the Laravel team. An excellent wrapper around PHP CS Fixer that is my go-to code standards tool. I previously wrote about...
Digital Ocean Providing developers and businesses a reliable, easy-to-use cloud computing platform of virtual servers (Droplets), object storage ( Spaces), and more.
It's very common to see two programmers who code the same feature differently. But it's much less common for those two programmers to see eye-to-eye and remain...

laravel-news.com

Eloquent API Calls
Time and again, I have spoken about API integrations, and each time I find an improvement from the last, once more into the fray. I was recently tagged on twitt...
DTOs, or Domain Transfer Objects, can be used for so much. Since PHP 8 was released, creating these fantastic classes in your projects has never been easier. Fr...

laravel-news.com

Using OpenAI in Laravel
AI is it a buzzword, or is it something we should be thinking about? With the release of the OpenAI package, we can dive into AI-powered Laravel applications So...
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Validation is a must-have for any modern project, and in Laravel, it is super simple to get started. Within your controller methods, you can call a method, pass...
Password generation is something we all think about doing at some point, but how can we go about doing it - and making these passwords easy to remember and secu...
If you have never built a Laravel application, let me take a walk-through with you from scratch - with no perceived knowledge. In this tutorial, I am going to w...

laravel-news.com

Fun with Refactoring
Refactoring isn't a dirty word, quite the opposite. Refactoring is something that you do when you have leveled up or generally improved. It is impossible to ref...
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 most applications, we need to send notifications, whether in-app, email or slack - these are typically transactional notifications to alert users of some act...
Since its release in late 2020, PHP 8 has been a game changer. In this tutorial, I will walk through all the latest features with real-world examples of when I...

www.juststeveking.uk

Reaching for Facades
Facades, people seem to love them or hate them. Either way, they are a natural part of what Laravel is today. Laravel Facades, however, aren’t strictly facades;...
Final classes, you either love them or hate them. People have been using them more recently in their open-source packages, but what does that mean for you? How...