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
232
43
3 months ago 00:46:36 1
Listener Q&A: ChatGPT, Laravel Hangups & Best Practices, API Docs, Inertia Next Steps
3 months ago 00:08:11 1
This New Auth Package Makes Things Even Easier
3 months ago 00:06:07 1
This Livewire Feature Is A Hidden Gem 💎 ✨
3 months ago 01:17:43 1
387: Good PHP VIBES
4 months ago 00:04:02 1
Demystifying Global Scopes in Laravel
4 months ago 01:14:37 2
386: PHPever Dream
4 months ago 00:08:19 4
Is Laravel Livewire actually secure?
4 months ago 00:08:29 1
Are You Authorized To Do That?
4 months ago 00:09:19 2
Strict Variable Types in Laravel: Practical Examples
4 months ago 00:11:31 3
Getting Rid of JavaScript Completely is (sometimes) a BAD idea
4 months ago 01:08:04 4
384: Multi Level PHP
5 months ago 01:37:28 3
382: Hearing != Listening
5 months ago 09:47:17 1
💯 ХАКНИ PHP: 3️⃣ ООП PHP, MVC с GTP, GIT | ч3 курса php | !10ч. от практика #php?? #gpt
5 months ago 00:07:50 1
30 Days to Learn Laravel, Ep 15 - Understanding Database Seeders
6 months ago 00:07:19 1
Delete When Missing Model, Context Pull, Attribute Has & More
6 months ago 00:12:12 5
Optimistic UI but in Laravel Livewire
6 months ago 00:04:59 1
Laravel Multiple File Uploads | Keep Your Files Synchronized
6 months ago 00:51:00 1
North Meets South Web Podcast - Episode 153 - Verbs, stolen chargers, and Laravel 11
6 months ago 00:12:58 1
Horses for Courses
6 months ago 01:17:12 1
378: PHP At-Bat
6 months ago 00:07:13 1
What’s New in Laravel 11, Ep 12 - Encryption Key Rotation
6 months ago 01:07:11 4
377: Solar Powered PHP
7 months ago 00:03:47 2
What’s New in Laravel 11, Ep 04 - Installing an API