Latest Laravel/PHP Articles

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


GitHub Actions is a fantastic way to run your Continuous Integration workflows, from running your tests to checking static analysis and more. In your Laravel ap...
JSON:API provides many options for filtering, sorting, and including extra data into the requested data using query parameters. Testing this can be frustrating...
Building APIs in Laravel is an art form. You must think beyond data access and wrapping your Eloquent Models in API endpoints. The first thing you need to do is...
Digital Ocean Providing developers and businesses a reliable, easy-to-use cloud computing platform of virtual servers (Droplets), object storage ( Spaces), and more.
Laravels routes files can get pretty busy. Before you know it, you have to search within the routes file to find anything. How do you combat this, though? You c...
PHPInsights is a composer package created by Nuno Maduro and is a fantastic tool to get started with analyzing the code quality of your PHP applications.
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...
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.

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

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...
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...
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.

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