Skip to main content
Premium Members Only
Join to unlock this tutorial and all of our courses.
Tutorial Premium Tutorial

When (NOT) To Use Static Methods in Laravel/PHP? Practical Examples.

July 02, 2023
11 min read

Premium Video Tutorial

Premium Members Only

This advanced tutorial is available exclusively to Laravel Daily Premium members.

Premium membership includes:

Access to all premium tutorials
Video and Text Courses
Private Discord Channel

Comments & Discussion

EV
Eugene van der Merwe ✓ Link copied!

Thank you for this clarification. I think as one uses objects and instantiate them, and then you realise the simplicity of static methods, you verge towards them.

Then Laravel confuses you with Service Providers and Facades and IoC. The gap between a static method in a class and a Service Provider is huge, with all the overhead.