Merge pull request #800 from prashant-webkul/development

Development
This commit is contained in:
Jitendra Singh 2019-04-04 14:21:26 +05:30 committed by GitHub
commit 708bfbaadb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 59 additions and 11 deletions

View File

@ -1,5 +1,6 @@
APP_NAME=Laravel
APP_ENV=local
APP_VERSION=0.1.5
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost

View File

@ -0,0 +1,42 @@
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
class BagistoVersion extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'bagisto:version';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Displays version of Bagisto installed';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
$this->comment('v' . config('app.version'));
}
}

View File

@ -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' => [
/*