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.
1 parent ddc4753 commit 87709e8Copy full SHA for 87709e8
src/app/Console/Commands/Version.php
@@ -36,14 +36,11 @@ public function handle()
36
$this->line(\PackageVersions\Versions::getVersion('laravel/framework'));
37
$this->line('');
38
39
- $this->comment('### BACKPACK CRUD:');
40
- $this->line(\PackageVersions\Versions::getVersion('backpack/crud'));
41
- $this->line('');
42
-
43
- if (backpack_pro()) {
44
- $this->comment('### BACKPACK PRO:');
45
- $this->line(\PackageVersions\Versions::getVersion('backpack/pro'));
46
+ $this->comment('### BACKPACK PACKAGE VERSIONS:');
+ foreach(\PackageVersions\Versions::VERSIONS as $package => $version) {
+ if (substr($package, 0, 9) == 'backpack/') {
+ $this->line($package.': '.strtok($version,'@'));
+ }
47
}
48
49
0 commit comments