classes/ServiceProvider.php
private function registerPackages()
    {
        // Form field generation
        AliasLoader::getInstance()->alias('Former', \Former\Facades\Former::class);
        $this->app->register('Former\FormerServiceProvider');

        // Image resizing
        AliasLoader::getInstance()->alias('Croppa', \Bkwld\Croppa\Facade::class);
        $this->app->register('Bkwld\Croppa\ServiceProvider');

        // PHP utils
        $this->app->register('Bkwld\Library\ServiceProvider');

        // HAML
        $this->app->register('Bkwld\LaravelHaml\ServiceProvider');

        // BrowserDetect
        AliasLoader::getInstance()->alias('Agent', \Jenssegers\Agent\Facades\Agent::class);
        $this->app->register('Jenssegers\Agent\AgentServiceProvider');

        // File uploading
        $this->app->register('Bkwld\Upchuck\ServiceProvider');

        // Creation of slugs
        $this->app->register('Cviebrock\EloquentSluggable\ServiceProvider');

        // Support for cloning models
        $this->app->register('Bkwld\Cloner\ServiceProvider');
    }
private function registerPackages()
    {
        // Form field generation
        AliasLoader::getInstance()->alias('Former', \Former\Facades\Former::class);
        $this->app->register('Former\FormerServiceProvider');

        // Image resizing
        AliasLoader::getInstance()->alias('Croppa', \Bkwld\Croppa\Facade::class);
        $this->app->register('Bkwld\Croppa\ServiceProvider');

        // PHP utils
        $this->app->register('Bkwld\Library\ServiceProvider');

        // HAML
        $this->app->register('Bkwld\LaravelHaml\ServiceProvider');

        // BrowserDetect
        AliasLoader::getInstance()->alias('Agent', \Jenssegers\Agent\Facades\Agent::class);
        $this->app->register('Jenssegers\Agent\AgentServiceProvider');

        // File uploading
        $this->app->register('Bkwld\Upchuck\ServiceProvider');

        // Creation of slugs
        $this->app->register('Cviebrock\EloquentSluggable\ServiceProvider');

        // Support for cloning models
        $this->app->register('Bkwld\Cloner\ServiceProvider');
    }
private function registerPackages ( ) { // Form field generation AliasLoader :: getInstance ( ) -> alias ( 'Former' , \ Former \ Facades \ Former :: class ) ; $ this -> app -> register ( 'Former\FormerServiceProvider' ) ; // Image resizing AliasLoader :: getInstance ( ) -> alias ( 'Croppa' , \ Bkwld \ Croppa \ Facade :: class ) ; $ this -> app -> register ( 'Bkwld\Croppa\ServiceProvider' ) ; // PHP utils $ this -> app -> register ( 'Bkwld\Library\ServiceProvider' ) ; // HAML $ this -> app -> register ( 'Bkwld\LaravelHaml\ServiceProvider' ) ; // BrowserDetect AliasLoader :: getInstance ( ) -> alias ( 'Agent' , \ Jenssegers \ Agent \ Facades \ Agent :: class ) ; $ this -> app -> register ( 'Jenssegers\Agent\AgentServiceProvider' ) ; // File uploading $ this -> app -> register ( 'Bkwld\Upchuck\ServiceProvider' ) ; // Creation of slugs $ this -> app -> register ( 'Cviebrock\EloquentSluggable\ServiceProvider' ) ; // Support for cloning models $ this -> app -> register ( 'Bkwld\Cloner\ServiceProvider' ) ; }
Register external dependencies
Register external dependencies