Laravel Controller into Service Class with Injection
In this article, I will show you how to shorten Controllers by using Service classes, and different ways to initialize or inject that Service.
In-depth Laravel tutorials covering advanced topics, real-world examples, and best practices.
In this article, I will show you how to shorten Controllers by using Service classes, and different ways to initialize or inject that Service.
Database transactions are very useful for multiple database operations, and Laravel has functionality for them. But what would be the practical examples of WHEN you should use them?
Welcome to the newly refreshed Laravel Daily! After 2+ years of hiatus, I'm restarting it now to become much more than just a blog. This article will tell you all the details.
Laravel has a few starter kits like Breeze and Jetstream, but they don't have roles/permissions functionality. This time, let's talk specifically about Vue Inertia versions of those starter kits: how to add the roles and permissions there?
There are quite a lot of articles/videos on Laravel + Vue CRUD, but not enough is published on the newest Vue.js 3 version, using the new Composition API. So, with this step-by-step detailed article, let's fill in that gap, building a simple Company management form.
Probably the most difficult step in the dev career is to jump from simple CRUD-like projects in the early years into some senior-level stuff with bigger architecture and a higher level of responsibility for the code quality. So, in this article, I tried to list the questions (and some answers) to think about, when working with large(r) Laravel projects.
This article is a "draft" lesson of the upcoming series on Flutter mobile app development using Laravel API on the back-end.
Laravel is full of hidden gems, undocumented or less-known features, functions parameters and "hacks". While finding them in work of my team, I decided to compile them into an e-book.
By default, Laravel Eloquent models assume your table has timestamp fields - created_at and updated_at. But there's plenty of things you can do to customize them or perform some interesting operations. Let's take a look.
I've been listening to Laravel Snippet podcast by Taylor Otwell, and heard some news about upcoming Laravel 7, which I think is pretty important for blog readers to know. So, changes are coming to Auth scaffolding.