Laravel service providers

Service Providers are central place where all Laravel application is bootstrapped . Your application as well all Laravel core services are also bootstrapped by service providers. All service providers extend the IlluminateSupportServiceProvider class. Most service providers contain a register and a boot method. Within the register method, you should only bind things into the service container. You should never attempt to register any event listeners, routes, or any other piece of functionality within the register method.

Leave a Reply

Your email address will not be published. Required fields are marked *