What is Service provider in laravel?

By | June 12, 2018

Service provider will bootstrap all of the framework component such as database,queue,validation,routing components
All of the service providers are configured in the config/app.php provider array.
register() and boot() method will be called on all service providers,after this request will dispatch to route and controller
Default service providers are stored in the app/Providers folder

Click here for more interview questions