2017 © Pedro Peláez
 

library laravel-config-env

image

electronics-extreme/laravel-config-env

  • Thursday, April 20, 2017
  • by Electronics Extreme
  • Repository
  • 4 Watchers
  • 0 Stars
  • 402 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 11 % Grown

The README.md

Installation


Install the latest version with, (*1)

$ composer require electronics-extreme/laravel-config-env

Go to app/Http/Kernel.php and override the $bootstrappers with, (*2)

Laravel 5.4, (*3)

/**
 * The bootstrap classes for the application.
 *
 * @var array
 */
protected $bootstrappers = [
    \Illuminate\Foundation\Bootstrap\LoadEnvironmentVariables::class,
    \ElectronicsExtreme\LaravelConfigEnv\Bootstrap\LoadConfiguration::class,
    \Illuminate\Foundation\Bootstrap\HandleExceptions::class,
    \Illuminate\Foundation\Bootstrap\RegisterFacades::class,
    \Illuminate\Foundation\Bootstrap\RegisterProviders::class,
    \Illuminate\Foundation\Bootstrap\BootProviders::class,
];

laravel 5.3 or below, (*4)

/**
 * The bootstrap classes for the application.
 *
 * @var array
 */
protected $bootstrappers = [    
    'Illuminate\Foundation\Bootstrap\DetectEnvironment',
    'ElectronicsExtreme\LaravelConfigEnv\Bootstrap\LoadConfiguration',
    'Illuminate\Foundation\Bootstrap\ConfigureLogging',
    'Illuminate\Foundation\Bootstrap\HandleExceptions',
    'Illuminate\Foundation\Bootstrap\RegisterFacades',
    'Illuminate\Foundation\Bootstrap\RegisterProviders',
    'Illuminate\Foundation\Bootstrap\BootProviders',
];

Go to app/Console/Kernel.php and override the $bootstrappers with, (*5)

laravel 5.4, (*6)

/**
 * The bootstrap classes for the application.
 *
 * @var array
 */
protected $bootstrappers = [
    \Illuminate\Foundation\Bootstrap\LoadEnvironmentVariables::class,
    \ElectronicsExtreme\LaravelConfigEnv\Bootstrap\LoadConfiguration::class,
    \Illuminate\Foundation\Bootstrap\HandleExceptions::class,
    \Illuminate\Foundation\Bootstrap\RegisterFacades::class,
    \Illuminate\Foundation\Bootstrap\SetRequestForConsole::class,
    \Illuminate\Foundation\Bootstrap\RegisterProviders::class,
    \Illuminate\Foundation\Bootstrap\BootProviders::class,
];

laravel 5.3 or below, (*7)

/**
 * The bootstrap classes for the application.
 *
 * @var array
 */
protected $bootstrappers = [
    'Illuminate\Foundation\Bootstrap\DetectEnvironment',
    'ElectronicsExtreme\LaravelConfigEnv\Bootstrap\LoadConfiguration',
    'Illuminate\Foundation\Bootstrap\ConfigureLogging',
    'Illuminate\Foundation\Bootstrap\HandleExceptions',
    'Illuminate\Foundation\Bootstrap\RegisterFacades',
    'Illuminate\Foundation\Bootstrap\SetRequestForConsole',
    'Illuminate\Foundation\Bootstrap\RegisterProviders',
    'Illuminate\Foundation\Bootstrap\BootProviders',
];

The Versions

20/04 2017

dev-master

9999999-dev

  Sources   Download

The Requires

 

The Development Requires

by thejellopy

06/02 2017

1.1.0

1.1.0.0

  Sources   Download

The Requires

 

The Development Requires

by thejellopy

23/01 2017

1.0.0

1.0.0.0

  Sources   Download

The Requires

 

The Development Requires

by thejellopy