BeartropyUiServiceProvider
class BeartropyUiServiceProvider extends ServiceProvider
Beartropy UI Service Provider.
Bootstraps the UI package, registering components, views, assets, and commands.
Methods
Bootstrap any application services.
Register Beartropy MCP tools with Laravel Boost when available.
Publish individual preset files.
Register custom Blade components.
Register the application services.
Details
at line 29
void
boot()
Bootstrap any application services.
- Loads routes.
- Loads views (components and SVGs).
- Registers custom component aliases.
- Publishes configuration and presets.
- Defines the 'BeartropyAssets' Blade directive for Ziggy and asset rendering.
at line 80
protected void
registerBoostTools()
Register Beartropy MCP tools with Laravel Boost when available.
at line 96
protected void
publishIndividualPresets()
Publish individual preset files.
Iterates through available presets and registers publishable tags for each one.
at line 119
protected void
registerCustomComponents()
Register custom Blade components.
Scans the Components directory and registers aliases based on configuration. Handles specific naming conventions for Base components and Icons.
at line 177
void
register()
Register the application services.
- Registers the 'beartropy.assets' singleton.
- Registers the 'beartropy' main class singleton.
- Merges configuration.
- Registers console commands.