Latest Laravel/PHP Articles

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


www.phparch.com

PHP is Standing Tall
https://www.phparch.com/article/domain-logic-in-one-place/ By https://www.phparch.com/community/stathis-georgiou/ In this article, I want to examine one of the...
A few months back I wrote https://brandur.org/soft-deletion (referring to the traditional strategy of putting a deleted_at column in each table), an assertion t...
We've released a new package called https://github.com/spatie/laravel-deleted-models. When deleting a model, this package will copy over its attributes to a tab...
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.
There is something undeniably satisfying about coming up with clever solutions to hard problems. Project Euler is a repository of challenges based around advanc...
Laravel 9 introduced a new way to create custom validation rules: https://laravel.com/docs/master/validation#using-rule-objects. It allows you to write a custom...
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. By default, it...

juststeveking.uk

Effective Eloquent
Get ready to level up your Laravel skills with this tutorial on eloquent queries! Eloquent is an Object Relational Mapper for Laravel and a Query Builder.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.

juststeveking.uk

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
There might be some times when you have 10+ scopes in your model which can make your model cluttered ! Well today i have that solution for you along with a bonu...
Fluency in Laravel can take several forms. One of them is using the Fluent class hidden inside the Laravel framework. The Fluent class is a utility class provid...
Let’s see the process to deploy Laravel app on shared hosting with SSH GitHub Action. Set up Laravel project in GitHub. Using appleboy/ssh-action; any...
Digital Ocean Providing developers and businesses a reliable, easy-to-use cloud computing platform of virtual servers (Droplets), object storage ( Spaces), and more.
Laravel Guards are used to authenticate users and control access to different parts of the application. Laravel ships with several guards out of the box, such a...
I recently built custom ecommerce sites for a couple of clients, and I decided to make a tutorial from my experience using Laravel to build those sites. In this...
https://dev.to/arielmejiadev #the-problem The problem The problem would be, when you need to return to an updated PHP version... there would start the real mess...
it's easy to let arrays get away on you and wind up writing complex, hard-to-test foreach loops to modify or filter your data. php's array_map(), array_filter()...