]> _ Git - cubist_cms-back.git/commitdiff
#2810
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 11 Jun 2019 15:53:28 +0000 (17:53 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 11 Jun 2019 15:53:28 +0000 (17:53 +0200)
src/app/Console/Commands/InstallCommand.php

index e84565a58b8bee7f52b842618a98d4e2353d854d..1d9b8594044ae225667220d4a7a702ea38f8abcd 100644 (file)
@@ -18,12 +18,10 @@ class InstallCommand extends CubistCommand
 
     public function handle()
     {
+        $devPackages = ['barryvdh/laravel-ide-helper', 'filp/whoops', 'laravel/tinker'];
+
         $commands = [
-            'Install dev dependencies' => [
-                'composer require --dev barryvdh/laravel-ide-helper',
-                'composer require --dev filp/whoops',
-                'composer require --dev laravel/tinker',
-            ],
+            'Install dev dependencies' => ['composer require --dev ' . implode(' ' . $devPackages)],
             "Dropzone" => 'php artisan gaspertrix:backpack:dropzone:install',
             'Laravel media library' => [
                 'php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider" --tag="migrations"',