register the service provider

@return void
13620
public function register()
    {
        //register commands
        $this->commands([
            Commands\HelperMakeCommand::class,
        ]);

        //include the active package helpers
        foreach (config('helpers.package_helpers', []) as $activeHelper) {

            $file = __DIR__ . '/Helpers/' . $activeHelper . '.php';

            if (file_exists($file)) {
                require_once($file);
            }
        }

        //load custom helpers with a mapper
        if (count(config('helpers.custom_helpers', []))) {

            foreach (config('helpers.custom_helpers', []) as $customHelper) {

                $file = app_path() . '/' . $this->getHelpersDirectory() . '/' . $customHelper . '.php';

                if(file_exists($file)) {
                    require_once($file);
                }
            }
        }

        //load custom helpers automatically
        else {

            //include the custom helpers
            foreach (glob(app_path() . '/' . $this->getHelpersDirectory() . '/*.php') as $file) {
                require_once($file);
            }
        }
    }
52589
public function register()
    {
        $this->registerInstallCommand();
        $this->registerInfoCommand();
        $this->registerSeedCommand();
        $this->registerCacheCommand();
        $this->registerHookCommand();
    }
719980
public function register()
    {
        $bindings = $this->bindings();
        count($bindings) > 0 && App::bind($bindings);

        $providers = $this->providers();
        count($providers) > 0 && App::register($providers);

        $config = $this->config();
        count($config) > 0 && Config::push($config);

        $subscribers = $this->subscribers();
        count($subscribers) > 0 && Event::register($subscribers);

        $this->routes();
    }
469800
public function register()
    {
        $this->bindContracts();
        $this->bindConfig();
        $this->bindSender();
        $this->bindResolver();
        $this->bindNotifynder();

        $this->registerSenders();
    }
968346
public function register()
	{
		if ($this->registerOnlyForConsole && !$this->app->runningInConsole()) {
			return;
		}

		$this->registerCommands($this->commands);
	}
635503
public function register()
    {
        $this->container['config']->addLocation($this->container->basePath().'/dev/config');

        foreach ($this->container['config']->get('app.providers') as $provider) {
            $this->container->addProvider($provider);
        }
    }
748390
public function register()
    {
        $this->mergeConfigFrom(__DIR__.'/../config/translation.php', 'translation');

        $this->app->bind(ClientContract::class, $this->app->config['translation.clients.client']);

        // $this->app->singleton(ClientContract::class, function ($app) {
        //     return new $this->app->config['translation.clients.client']();
        // });

        $this->app->bind(TranslationContract::class, $this->app->config['translation.models.translation']);

        $this->app->singleton(Translation::class, function ($app) {
            return new Translation(new $this->app->config['translation.clients.client']($app));
        });
    }
1034745
public function register()
    {
        $this->app->singleton('admin', function ($app) {
            return new Admin($app['config'], $app['auth'], $app['router']);
        });
        
        $this->registerRouteMiddleware($this->app['router']);
    }
1358157
public function register()
    {
        $this->setupCache();
        $this->mergeConfig();
        $this->setupMetaData();
        $this->setupConnection();
        $this->registerManagerRegistry();
        $this->registerEntityManager();
        $this->registerClassMetaDataFactory();
        $this->registerExtensions();
        $this->registerCustomTypes();
        $this->registerPresenceVerifier();
        $this->registerConsoleCommands();
    }
408964
public function register()
    {
        $this->app->singleton('CountryState', function () {
            return new CountryState(config('countrystate.limitCountries'), config('countrystate.preloadCountryStates'), config('countrystate.language'));
        });
        $this->mergeConfigFrom(__DIR__ . '/config/countrystate.php', 'countrystate');
    }
176140
public function register() {
        $this->loadConfiguration();

        /** Register language repository . */
        $this->app->bind('lang-db-repo', function() {
            return new LanguageRepository(
                new Language()
            );
        });

        /** Register translations repository . */
        $this->app->bind('translations-db-repo', function() {
            return new TranslationsRepository(
                new Translation()
            );
        });

        /** Register driver manager */
        $this->app->bind('driver-translator-manager', function() {
            return (new Manager(
                config('laravel-translator')
            ));
        });

        /** Register translator . */
        $this->app->singleton('laravel-translator', function($app) {
            return new Translator(
                config('laravel-translator'),
                $app['driver-translator-manager']
            );
        });
    }
61790
public function register()
    {
        $this->container->bind('config', new Repository(
            new FileLoader(
                new Filesystem,
                $this->container->appPath().'/config'
            ),
            new Resolver,
            $this->container->os()
        ));
    }
1134019
public function register()
    {
        $this->mergeConfigFrom(
            __DIR__.'/../config/laravel-fulltext.php',
            'laravel-fulltext'
        );

        if ($this->app->runningInConsole()) {
            $this->publishes(
                [
                __DIR__.'/../config/laravel-fulltext.php' => config_path('laravel-fulltext.php'),
                ],
                'laravel-fulltext'
            );

            $this->publishes(
                [
                __DIR__.'/../database/migrations' => database_path('migrations'),
                ],
                'laravel-fulltext'
            );

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

        $this->app->bind(
            SearchInterface::class,
            Search::class
        );
    }
996191
public function register()
    {
        $this->mergeConfigFrom(__DIR__ . '/../config/authentication.php', 'authentication');

        $this->app->singleton(PasswordResetRepositoryContract::class, function ($app) {
            return new PasswordResetRepository($app['config']);
        });

        $this->app->singleton(UserRepositoryContract::class, function () {
            return new UserRepository();
        });

        $this->registerRegisterUserCommand();
        $this->registerAdminCommand();
        $this->registerBanCommand();
    }
340848
public function register()
    {
        $this->registerPublisher();

        $this->registerRoleEloquent();

        $this->registerComponentEloquent();

        $this->registerActionComponentEloquent();

        $this->registerUserRoleEloquent();

        $this->registerComponentPermissionEloquent();

        $this->registerUserEloquent();
    }
687957
public function register() {
        $this->mergeConfigFrom(__DIR__ . '/../config/config.php', 'larakit.lk-staticfiles');
        $this->mergeConfigFrom(__DIR__ . '/../config/js.php', 'larakit.lk-staticfiles.js');
        $this->mergeConfigFrom(__DIR__ . '/../config/css.php', 'larakit.lk-staticfiles.css');
        $this->commands([
            CommandDeploy::class,
            CommandConditions::class,
        ]);
    }
508501
public function register()
    {
        $this->app['httpauth'] = $this->app->share(function ($app) {
            return new Httpauth($app['config']->get('httpauth::config'));
        });
    }