Black Friday: the Laravel testing course is $149 instead of $249, through Dec 7. See the course →
logo

What is the difference between boot and register in service providers

Where do I put this code?

Joel Clermont
Joel Clermont
2026-02-13

From our daily Laravel tips email. Get the next one in your inbox.

Every service provider has two methods, and it's not always obvious which one to use.

In today's video, I walk through the lifecycle, show real examples of what belongs where, and explain a common trap that can lead to flaky, hard-to-debug errors.

Watch Now (4 min)

And after watching, don't forget to subscribe to our YouTube channel, so you don't miss future videos.

Here to help,

Joel

P.S. Have questions about another deep Laravel topic? Our community is a friendly place to get answers from experienced developers.

Want a tip like this in your inbox every weekday?

Each one takes less than 2 minutes to read. Join 4,000+ Laravel developers who already get them.

email
No spam. Only real-world advice.
Toss a coin in the jar if you found this helpful.