Laravel: When to Use Static Methods, Services and Dependency Injection
A lot is written on the syntax of dependency injections and services. But let’s talk about WHY and WHEN to use them, what are the actual benefits and in what cases.
Video is based on a collaborative article from our team:
A bit more about the structure of Laravel projects - you can find in my online course “How to Structure Laravel Project“:
52 views
280
59
4 months ago 00:06:52 1
New in Laravel 11: The when() helper
4 months ago 00:10:31 4
Extremely simple analytics for your Laravel apps
5 months ago 00:31:05 9
v2.0 - New Features
5 months ago 00:08:12 4
My Personal Livewire Starter Kit
5 months ago 00:09:12 5
Significantly Improve Page Loads Using Laravel Prefetching
5 months ago 00:09:40 4
Laravel Conventions/Guidelines from IxDF
5 months ago 00:05:01 1
How to Use Full Text Indexes for beginners | Full Text Indexing in Laravel for Beginners #laravel
5 months ago 01:21:32 1
53: Talking About Liquid
5 months ago 02:00:13 1
400: Tom’s Second Rodeo
5 months ago 00:05:06 4
Refactor To Make Code Shorter? Think Twice.
5 months ago 00:16:18 6
Is PHP the new JavaScript?
5 months ago 01:26:31 3
399: WarPress
5 months ago 00:03:33 1
New in Laravel : `when()` Helper
5 months ago 00:27:39 1
Adding some test shorthands to Laravel’s Process facade
5 months ago 00:17:38 1
How to use Enums in FilamentPHP
5 months ago 01:14:53 1
398: Cats, Coffee, and PHP
5 months ago 01:31:18 1
50: Paid In Respect
6 months ago 01:20:13 4
397: Little Legs
6 months ago 00:08:02 5
The best Laravel project ideas for beginners
6 months ago 00:03:29 4
TemPHPest for VSCode - New File Stubs
6 months ago 00:06:22 3
What’s Up with Laravel? It’s Everywhere, and Here’s Why!
6 months ago 00:36:03 9
Analyzing Analytical Databases | Jess Archer at Laracon US 2024 in Dallas, TX