Register any package services.

@return null
5143
public function register()
	        {
		$this->mergeConfigFrom(
		                __DIR__ . '/config/pagekit.php', 'pagekit'
		            );
		$this->app->bind(
		                'Breadcrumbs', function () {
			return new Breadcrumbs();
		}
		);

		$this->app->bind(
		                'MKD', function () {
			return new Markdown();
		}
		);

		$this->app->bind('Pages', function () {
			return new Page();
		}
		);

	}
1097835
protected function registerServices()
    {
        foreach ($this->serviceBindings as $key => $value) {
            is_numeric($key)
                    ? $this->app->singleton($value)
                    : $this->app->singleton($key, $value);
        }
    }
1268927
public function register()
    {
        $this->registerLangFileManager();
        $this->setupRoutes($this->app->router);

        $this->app->singleton('langfile', function ($app) {
            return new LangFiles($app['config']['app']['locale']);
        });

        // use this if your package has a config file
        // config([
        //         'config/langfilemanager.php',
        // ]);
    }
1051415
public function register()
    {
        $this->app->register(\Netcore\Translator\ServiceProvider::class);

        $this->commands([
            ImportTranslations::class,
            FindTranslations::class,
        ]);
    }
1108174
public function register()
    {
        $this->registerHtmlPackage();

        $this->app->singleton('menus', function ($app) {
            return new Menu($app['view'], $app['config']);
        });
    }
531783
public function register()
    {
        // Register the Artisan command binding
        $this->app->bind('stolz.assets.command.flush', function ($app) {
            return new FlushPipelineCommand();
        });
        // Merge user's configuration with the default package config file
        //$this->mergeConfigFrom(__DIR__ . '/config.php', 'assets');
        $config = $this->app['config']->get('assets.groups', []);
        // Register the library instances bindings ...
        // No groups defined. Assume the config is for the default group.
        if (! isset($config['default'])) {
            return $this->registerAssetsManagerInstance('default', $config);
        }
        // Multiple groups
        foreach ($config as $groupName => $groupConfig) {
            $this->registerAssetsManagerInstance($groupName, (array) $groupConfig);
        }
    }
374158
public function register()
    {
        parent::register();

        $this->registerConfig();
        $this->registerProviders([
            Providers\PackagesServiceProvider::class,
            Providers\EventServiceProvider::class,
        ]);
        $this->registerConsoleServiceProvider(Providers\CommandServiceProvider::class);

        $this->registerDetectors();
        $this->registerParsers();
        $this->registerTrackers();
        $this->registerMainTracker();
        $this->registerExceptionHandler();
    }
188110
public function register()
    {

        if ('LaravelCommode\Common\CommodeCommonServiceProvider' !== get_class($this)) {
            /**
             * Prepare service
             */
            $this->prepareService();

            /**
             * Bind app's 'booting' event resolving, aliases and launching methods
             */
            $this->app->booting($this->getResolver()->makeClosure(function () {

                if (count($this->aliases) > 0) {
                    $loader = AliasLoader::getInstance();

                    foreach ($this->aliases as $facadeName => $facadeClass) {
                        $loader->alias($facadeName, $facadeClass);
                    }
                }

                $this->launchClosure();
            }));

        }

        /**
         * Register service
         */
        $this->registering();
    }
32516
protected function registerPackages()
    {
        $packages = (array) $this->config->get('packages');

        /** @var PackageResolver $resolver */
        $resolver = $this->container->get('package.resolver');

        $resolver->registerPackages($packages);

        return $this;
    }
416622
public function register()
    {
        // Load package config to allow use of values
        Config::package('antarctica/laravel-token-blacklist', __DIR__.'/../../config');

        // Register package dependencies' service providers and aliases (so the user doesn't have to in app/config/app.php)
        $this->app->register('Indatus\Dispatcher\ServiceProvider');

        // Register package interfaces with their corresponding implementations
        $this->app->bind(
            'Antarctica\LaravelTokenBlacklist\Repository\TokenBlacklistRepositoryInterface',
            Config::get('laravel-token-blacklist::repository')
        );
    }
270936
protected function registerService()
    {
        $this->app->singleton('pragmarx.version', function () {
            $version = new Version($this->config);

            $version->setConfigFileStub($this->getConfigFileStub());

            return $version;
        });
    }
470140
public function register() {
        $this->registerFilesystemProvider();
        $this->registerDatabaseProvider();
        $this->registerCompressorProvider();
        $this->registerShellProcessor();
        $this->registerArtisanCommands();
    }
332601
public function register()
    {
        // Load package config to allow use of values
        Config::package('antarctica/laravel-token-auth', __DIR__.'/../../config');

        // Register package dependencies' service providers and aliases (so the user doesn't have to in app/config/app.php)
        $loader = AliasLoader::getInstance();

        $this->app->register('Tymon\JWTAuth\JWTAuthServiceProvider');
        $loader->alias('JWTAuth', 'Tymon\JWTAuth\Facades\JWTAuth');

        // Register package interfaces with their corresponding implementations
        $this->app->bind(
            'Antarctica\LaravelTokenAuth\Service\Token\TokenServiceInterface',
            'Antarctica\LaravelTokenAuth\Service\Token\TokenServiceJwtAuth'
        );
        $this->app->bind(
            'Antarctica\LaravelTokenAuth\Service\TokenUser\TokenUserServiceInterface',
            'Antarctica\LaravelTokenAuth\Service\TokenUser\TokenUserService'
        );
        $this->app->bind(
            'Antarctica\LaravelTokenAuth\Repository\User\UserRepositoryInterface',
            Config::get('laravel-token-auth::user_repository')
        );
    }
224132
public function register() : void
    {
        $environment = $this->app->environment();

        $providers = $this->app['config']->get('app.' . $environment . '_providers', []);

        foreach ($providers as $provider) {
            $this->app->register($provider);
        }

        $facades = $this->app['config']->get('app.' . $environment . '_aliases', []);

        foreach ($facades as $class => $name) {
            AliasLoader::getInstance()->alias($class, $name);
        }
    }
1018996
public function register() {

		// Version specific registering
		if ($this->version() == 5) $this->registerLaravel5();

		// Determine the cache dir
		$cache_dir = storage_path($this->version() == 5 ? '/framework/views' : '/views');

		// Bind the package-configred MtHaml instance
		$this->app->singleton('laravel-haml.mthaml', function($app) {
			$config = $this->getConfig();
			return new MtHaml\Environment($config['mthaml']['environment'], 
				$config['mthaml']['options'], 
				$config['mthaml']['filters']);
		});

		// Bind the Haml compiler
		$this->app->singleton('Bkwld\LaravelHaml\HamlCompiler', function($app) use ($cache_dir) {
			return new HamlCompiler($app['laravel-haml.mthaml'], $app['files'], $cache_dir);
		});

		// Bind the Haml Blade compiler
		$this->app->singleton('Bkwld\LaravelHaml\HamlBladeCompiler', function($app) use ($cache_dir) {
			return new HamlBladeCompiler($app['laravel-haml.mthaml'], $app['files'], $cache_dir);
		});

	}
349738
public function register()
    {
        $this->registerInstallCommand();
        $this->registerAuthSettingsInstallCommand();
        $this->registerAuthFilesInstallCommand();
        $this->registerAuthModelInstallCommand();
        $this->registerAuthViewsInstallCommand();
        //$this->registerInstallMiddlewareCommand();
    }
168220
private function registerServices()
    {
        $this->app->singleton('pluggables', function ($app) {
            return new Pluggables($app['config'], $app['files']);
        });

        $this->app->booting(function ($app) {
            $app['pluggables']->register();
        });
    }