diff --git a/.env.example b/.env.example index ef6c364c0..16e00691a 100644 --- a/.env.example +++ b/.env.example @@ -1,5 +1,6 @@ APP_NAME=Laravel APP_ENV=local +APP_VERSION=0.1.5 APP_KEY= APP_DEBUG=true APP_URL=http://localhost diff --git a/app/Console/Commands/BagistoVersion.php b/app/Console/Commands/BagistoVersion.php new file mode 100644 index 000000000..411035072 --- /dev/null +++ b/app/Console/Commands/BagistoVersion.php @@ -0,0 +1,42 @@ +comment('v' . config('app.version')); + } +} diff --git a/config/app.php b/config/app.php index d151dd0cf..6603e3b6d 100755 --- a/config/app.php +++ b/config/app.php @@ -130,22 +130,16 @@ return [ 'cipher' => 'AES-256-CBC', - /* - |-------------------------------------------------------------------------- - | Autoloaded Service Providers - |-------------------------------------------------------------------------- - | - | The service providers listed here will be automatically loaded on the - | request to your application. Feel free to add your own services to - | this array to grant expanded functionality to your applications. - | - */ - /* Code Editor */ 'editor' =>'vscode', + /* + Application Version + */ + 'version' => env('APP_VERSION', '0.1.5'), + /** * Blacklisting attributes while debugging */ @@ -165,6 +159,17 @@ return [ ], ], + /* + |-------------------------------------------------------------------------- + | Autoloaded Service Providers + |-------------------------------------------------------------------------- + | + | The service providers listed here will be automatically loaded on the + | request to your application. Feel free to add your own services to + | this array to grant expanded functionality to your applications. + | + */ + 'providers' => [ /*