info('Migration started..'); $migrate = Artisan::call('migrate:fresh --seed'); $this->info('Migrate successfully.'); $this->info('Permission started..'); Artisan::call('permission:create-permission-routes'); $this->info('Permission successfully.'); $this->info('Seeder started..'); Artisan::call('db:seed', [ '--class' => 'GenerateFreshSeeder', '--force' => true ]); $this->info('Seeder successfully.'); } }