app/Providers/AppServiceProvider.php
/**
     * Bootstrap any application services.
     *
     * @return void
     */
Bootstrap any application services.
@return void
Bootstrap any application services . @return void
public function boot()
    {
        Schema::defaultStringLength(191);
        view()->composer('auth.register', function ($view) {
            $view->with('group', 'ok');
        });
    }
public function boot ( ) { Schema :: defaultStringLength ( 191 ) ; view ( ) -> composer ( 'auth.register' , function ( $ view ) { $ view -> with ( 'group' , 'ok' ) ; } ) ; }
Bootstrap any application services.
Bootstrap any application services .