void register() Register the service provider.
array provides() Get the services provided by the provider.
string guessPackagePath() Guess the package path for the provider.
void commands(array $commands) Register the package's custom Artisan commands
array when() Get the events that trigger this service provider to register
void commands(array|mixed $commands) Register the package's custom Artisan
PublisherServiceProvider class PublisherServiceProvider extends
void __construct(Application $app)
Page 9 of 12