classes/ServiceProvider.php
public function registerDirectories()
    {
        // Publish config files
        $this->publishes([
             __DIR__.'/../config' => config_path('decoy')
        ], 'config');

        // Publish decoy css and js to public directory
        $this->publishes([
            __DIR__.'/../dist' => public_path('assets/decoy')
        ], 'assets');

        // Publish lanaguage files
        $this->publishes([
            __DIR__.'/../lang' => resource_path('lang/vendor/decoy')
        ], 'lang');

        // Register views
        $this->loadViewsFrom(__DIR__.'/../views', 'decoy');

        // Load translations
        $this->loadTranslationsFrom(__DIR__.'/../lang', 'decoy');

        // Load migrations
        $this->loadMigrationsFrom(__DIR__.'/../migrations/');
    }
public function registerDirectories()
    {
        // Publish config files
        $this->publishes([
             __DIR__.'/../config' => config_path('decoy')
        ], 'config');

        // Publish decoy css and js to public directory
        $this->publishes([
            __DIR__.'/../dist' => public_path('assets/decoy')
        ], 'assets');

        // Publish lanaguage files
        $this->publishes([
            __DIR__.'/../lang' => resource_path('lang/vendor/decoy')
        ], 'lang');

        // Register views
        $this->loadViewsFrom(__DIR__.'/../views', 'decoy');

        // Load translations
        $this->loadTranslationsFrom(__DIR__.'/../lang', 'decoy');

        // Load migrations
        $this->loadMigrationsFrom(__DIR__.'/../migrations/');
    }
public function registerDirectories ( ) { // Publish config files $ this -> publishes ( [ __DIR__ . '/../config' => config_path ( 'decoy' ) ] , 'config' ) ; // Publish decoy css and js to public directory $ this -> publishes ( [ __DIR__ . '/../dist' => public_path ( 'assets/decoy' ) ] , 'assets' ) ; // Publish lanaguage files $ this -> publishes ( [ __DIR__ . '/../lang' => resource_path ( 'lang/vendor/decoy' ) ] , 'lang' ) ; // Register views $ this -> loadViewsFrom ( __DIR__ . '/../views' , 'decoy' ) ; // Load translations $ this -> loadTranslationsFrom ( __DIR__ . '/../lang' , 'decoy' ) ; // Load migrations $ this -> loadMigrationsFrom ( __DIR__ . '/../migrations/' ) ; }
Register configs, migrations, etc

@return void
Register configs migrations etc