The Laravel Eloquent Status package by Rasmus Christoffer Nielsen is a package that helps you check the state and status of eloquent models without cluttering them. Learn more details about this package and how to use it in your own Laravel projects to define and check model statuses.Read more…
Laravel Soft Cascade is a package that makes it easy to perform soft cascade deletes and restores on related models using soft deleting. Learn more about the inspiration for making the laravel-soft-delete package and how to get started.Read more…
It’s not uncommon to have tens, if not hundreds of views in a Laravel application. Something that soon gets out of hand is the various references to routes. If for whatever reason we have to make a change to either the route alias or default query string values you’ll soon find yourself doing mass string replacements across your entire application which brings the risk of breakage within many files.
What can we do to possibly better handle this? There are a couple of differ... Read more…
Laravel Model events allow you to tap into various points in a model’s lifecycle, and can even prevent a save or delete from happening. The Laravel model events documentation outlines how you can hook into these events with event classes, and this article aims to build upon and fill in a few additional details on setting up events and listeners.Read more…
The Laravel Shareable Models package allows you to generate shareable links from your Eloquent models. Think dynamic routes which only exist for models that have been shared. The package author Kai Sassnowski described his use-case for the Shareable Models package as follows: My initial use case was giving certain non-admin user access to a certain …
Learn how to optimize your related model queries in Laravel with eager loading. We will set up some example relationships and then walk through how queries change with and without eager loading. I like to get my hands directly on code and experiment with things, and I hope to illustrate how eager loading works with some examples will further help you understand how to optimize your queries.Read more…
- Senior Full Stack Engineer - Laravel
- Laravel partner seeks Lead Developer
Kirschbaum Development Group
- Senior Programmer **Immediate Opening** (send resume to firstname.lastname@example.org)
- Web Developer - Laravel
Grand Forks, North Dakota
Center for Rural Health
- Senior Full-Stack Laravel Developer
Join 31,000+ others and never miss out on new tips, tutorials, and more.