Latest Laravel/PHP Articles

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


laravel-news.com

Effective Eloquent
Get ready to level up your Laravel skills with this tutorial on eloquent queries! You'll learn everything you need to know, from beginner to advanced techniques...
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 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...
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
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...
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...
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.

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

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