info('php artisan key:generate'); Artisan::call('key:generate'); $this->info('php artisan migrate --force'); Artisan::call('migrate', ['--force' => true]); $this->info('php artisan db:seed --force'); Artisan::call('db:seed', ['--force' => true]); $this->comment("\nProject initialized."); } }