class BeartropyUiServiceProvider extends ServiceProvider

Beartropy UI Service Provider.

Bootstraps the UI package, registering components, views, assets, and commands.

Methods

void
boot()

Bootstrap any application services.

void
publishIndividualPresets()

Publish individual preset files.

void
registerCustomComponents()

Register custom Blade components.

void
register()

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.

Return Value

void

at line 69
protected void publishIndividualPresets()

Publish individual preset files.

Iterates through available presets and registers publishable tags for each one.

Return Value

void

at line 92
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.

Return Value

void

at line 144
void register()

Register the application services.

  • Registers the 'beartropy.assets' singleton.
  • Registers the 'beartropy' main class singleton.
  • Merges configuration.
  • Registers console commands.

Return Value

void