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 28e8022 + 12301f2 commit af6f434Copy full SHA for af6f434
src/app/Console/Commands/Version.php
@@ -30,13 +30,15 @@ class Version extends Command
30
public function handle()
31
{
32
$this->comment('### PHP VERSION:');
33
- $this->runConsoleCommand('php -v');
+ $this->runConsoleCommand(['php', '-v']);
34
35
$this->comment('### LARAVEL VERSION:');
36
- $this->runConsoleCommand('composer show | grep "laravel/framework"');
+ $this->line(\PackageVersions\Versions::getVersion('laravel/framework'));
37
+ $this->line('');
38
39
$this->comment('### BACKPACK VERSION:');
- $this->runConsoleCommand('composer show | grep "backpack"');
40
+ $this->line(\PackageVersions\Versions::getVersion('backpack/crud'));
41
42
}
43
44
/**
0 commit comments