/**
  * Register the service provider.
  *
  * @return void
  */
 public function register()
 {
     $this->loadConfiguration();
     Support\merge_yaml_config_from(config_path('yaml/analytics/general.yaml'), 'laravel-analytics');
     $this->app->singleton('analytic-manager', function () {
         return new DriverManager(config('laravel-analytics'));
     });
 }
 /**
  * Load configuration .
  *
  * @return $this
  */
 protected function loadConfiguration()
 {
     Support\set_config_from_yaml(__DIR__ . '/../configuration/general.yaml', 'administrator');
     Support\merge_yaml_config_from(config_path('yaml/application/general.yaml'), 'administrator');
     Support\set_config_from_yaml(__DIR__ . '/../configuration/settings.yaml', 'administrator-settings');
     Support\merge_yaml_config_from(config_path('yaml/application/settings.yaml'), 'administrator-settings');
     return $this;
 }
 public function register()
 {
     $this->loadConfiguration();
     Support\merge_yaml_config_from(config_path('yaml/exporter/general.yaml'), 'laravel-exporter');
     $this->app->singleton('laravel-exporter', function () {
         return new ExportManager(config('laravel-exporter'));
     });
     $this->registerPackageServices();
 }
 /**
  * Register the service provider.
  *
  * @return void
  */
 public function register()
 {
     $this->loadConfiguration();
     Support\merge_yaml_config_from(config_path('yaml/meta/general.yaml'), 'laravel-meta');
     $this->app->bind('meta', function () {
         return new MetaManager(config('laravel-meta'));
     });
     $this->registerBladeExtension();
 }
 /**
  * Register the service provider.
  *
  * @return void
  */
 public function register()
 {
     $this->loadConfiguration();
     Support\merge_yaml_config_from(config_path('yaml/shop/general.yaml'), 'laravel-shop');
     /** Cart service rec to Ioc */
     app()->bind('cart-service', function () {
         return new CartService(new Cart());
     });
     /** @var Register alias facade . $loader */
     $loader = AliasLoader::getInstance();
     $loader->alias('Cart', CartFacade::class);
 }
 /**
  * Register the service provider.
  *
  * @return void
  */
 public function register()
 {
     $this->loadConfiguration();
     Support\merge_yaml_config_from(config_path('yaml/imageonfly/general.yaml'), 'image-on-fly');
     $this->registerDependencies();
     /**
      * Register template resolver .
      */
     $this->app->singleton('image-template-resolver', function () {
         return new TemplateResolver(config('image-on-fly')['templates']);
     });
     /**
      * Register image processor to Ioc.
      */
     $this->app->singleton('image-processor', function ($app) {
         return new ImageProcessor(config('image-on-fly'), $app['image-template-resolver']);
     });
 }
 /**
  * Load conf .
  *
  * @return $this
  */
 protected function loadConfiguration()
 {
     Support\set_config_from_yaml(__DIR__ . '/../configuration/general.yaml', 'laravel-translator');
     Support\merge_yaml_config_from(config_path('yaml/translator/general.yaml'), 'laravel-translator');
     return $this;
 }
 public function register()
 {
     $this->loadConfiguration();
     Support\merge_yaml_config_from(config_path('yaml/localization/general.yaml'), 'laravel-locale');
     $this->app->singleton('locale-formatter', Formatter::class);
 }
 /**
  * Load configuration .
  *
  * @return $this
  */
 protected function loadConfiguration()
 {
     Support\set_config_from_yaml(__DIR__ . '/../configuration/general.yaml', 'form-builder');
     Support\merge_yaml_config_from(config_path('yaml/form-builder/general.yaml'), 'form-builder');
     return $this;
 }
 /**
  * On boot's application load package requirements .
  */
 public function boot()
 {
     $this->publishes([__DIR__ . '/../configuration' => config_path('yaml/table-manager')]);
     $this->loadConfiguration();
     Support\merge_yaml_config_from(config_path('yaml/table-manager/general.yaml'), 'table-manager');
 }