src/EntrustGuiServiceProvider.php
public function boot()
    {

        $this->loadViewsFrom(realpath(__DIR__.'/../views'), 'entrust-gui');
        $this->setupRoutes($this->app->router);
        $this->loadTranslationsFrom(realpath(__DIR__.'/../translations'), 'entrust-gui');


        // This is for conig
        $this->publishes(
            [__DIR__.'/../config/entrust-gui.php' => config_path('entrust-gui.php')],
            'config'
        );

        // This is for views
        $this->publishes(
            [__DIR__.'/../views' => base_path('resources/views/vendor/entrust-gui')],
            'views'
        );

        // This is for translations
        $this->publishes(
            [__DIR__.'/../translations' => base_path('resources/lang/vendor/entrust-gui')],
            'translations'
        );
        // Register commands
        $this->commands('command.entrust-gui.models');
    }
public function boot()
    {

        $this->loadViewsFrom(realpath(__DIR__.'/../views'), 'entrust-gui');
        $this->setupRoutes($this->app->router);
        $this->loadTranslationsFrom(realpath(__DIR__.'/../translations'), 'entrust-gui');


        // This is for conig
        $this->publishes(
            [__DIR__.'/../config/entrust-gui.php' => config_path('entrust-gui.php')],
            'config'
        );

        // This is for views
        $this->publishes(
            [__DIR__.'/../views' => base_path('resources/views/vendor/entrust-gui')],
            'views'
        );

        // This is for translations
        $this->publishes(
            [__DIR__.'/../translations' => base_path('resources/lang/vendor/entrust-gui')],
            'translations'
        );
        // Register commands
        $this->commands('command.entrust-gui.models');
    }
public function boot ( ) { $ this -> loadViewsFrom ( realpath ( __DIR__ . '/../views' ) , 'entrust-gui' ) ; $ this -> setupRoutes ( $ this -> app -> router ) ; $ this -> loadTranslationsFrom ( realpath ( __DIR__ . '/../translations' ) , 'entrust-gui' ) ; // This is for conig $ this -> publishes ( [ __DIR__ . '/../config/entrust-gui.php' => config_path ( 'entrust-gui.php' ) ] , 'config' ) ; // This is for views $ this -> publishes ( [ __DIR__ . '/../views' => base_path ( 'resources/views/vendor/entrust-gui' ) ] , 'views' ) ; // This is for translations $ this -> publishes ( [ __DIR__ . '/../translations' => base_path ( 'resources/lang/vendor/entrust-gui' ) ] , 'translations' ) ; // Register commands $ this -> commands ( 'command.entrust-gui.models' ) ; }
Boot and configure the application paths

@return void
Boot and configure the application paths