void __construct(Application $app)
array when() Get the events that trigger this service provider to register
void commands(array $commands) Register the package's custom Artisan commands
static array pathsToPublish(string $provider = null, string $group = null)
void commands(array|mixed $commands) Register the package's custom Artisan
void package(string $package, string $namespace = null, string $path = null)
static array compiles() Get a list of files that should be compiled
FoundationServiceProvider class FoundationServiceProvider extends
Page 4 of 12