Skip to main content

Black Friday 2025! Only until December 1st: coupon FRIDAY25 for 40% off Yearly/Lifetime membership!

Read more here
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.

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.