We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 34d2721 + 751aafb commit be74c0aCopy full SHA for be74c0a
src/Commands/InitCommand.php
@@ -8,6 +8,7 @@
8
use Illuminate\Support\Carbon;
9
use Illuminate\Support\Str;
10
use RonasIT\ProjectInitializator\Enums\RoleEnum;
11
+use Illuminate\Support\Facades\Artisan;
12
13
class InitCommand extends Command implements Isolatable
14
{
@@ -133,8 +134,8 @@ public function handle(): void
133
134
shell_exec("{$composerCommand} --ansi");
135
}
136
- $this->call('telescope:install');
137
- $this->call('migrate');
+ Artisan::call('telescope:install');
138
+ Artisan::call('migrate');
139
140
141
protected function createAdminUser(string $kebabName): void
0 commit comments