AlertSystemServiceProvider
class AlertSystemServiceProvider extends ServiceProvider
Service Provider for the Beartropy Alert System.
This provider handles the registration of package resources including:
- Configuration merging
- Translations, Migrations, and Views
- Route loading
- Asset publishing
- Livewire component registration
- Service container bindings
Methods
Details
at line 37
void
boot()
Bootstrap any application services.
Perform post-registration booting of services. This method:
- Loads translations, migrations, and views.
- Loads routes if configured.
- Defines publishable asset groups (views, lang, migrations, config, seeders).
- Registers Livewire components for the management UI.
at line 82
void
register()
Register any application services.
This method:
- Merges the package configuration.
- Registers the TelegramService singleton.
- Registers the main AlertService singleton ('alert-system').