Service Provider¶

Definition¶
Service providers are the central place of all Laravel application bootstrapping. Your own application, as well as all of Laravel’s core services are bootstrapped via service providers. • laravel.com
Usage¶
- a Service Provider starts when your Laravel application boots and stops when it shuts down.
- a Service Provider is used to register classes into the service container
Examples¶
register:
boot: