App\Providers\InstallServiceProvider::boot PHP Method

boot() public method

Service Provider Boot
public boot ( ) : void
return void
    public function boot()
    {
        Route::get('/', function () {
            return redirect('/web_installer');
        });
        Route::post('/install/post', '\\App\\Http\\Controllers\\InstallController@install');
        \App\Http\Middleware\ExceptAppendableVerifyCsrfToken::setExcept('/install/post');
        // 실제 키 생성전 임시
        app('config')->set('app.key', Str::random(32));
    }
InstallServiceProvider