somnambulist / laravel-environment-loader
This package is abandoned and no longer maintained.
No replacement package was suggested.
Deferred loading / dev dependency loading for Laravel 5.X projects
0.1.3
2017-03-15 15:58 UTC
Requires
- php: >=5.5.0
- laravel/framework: ~5.2
This package is auto-updated.
Last update: 2022-02-01 12:56:36 UTC
README
This project is no longer being maintained.
Laravel Environment Loader
Package for Laravel 5.X projects that allows loading providers based on environment or debug level set.
Requirements
- PHP 5.5+
- laravel 5.1+
Installation
Install using composer, or checkout / pull the files from github.com.
- composer require somnambulist/laravel-environment-loader
Setup / Getting Started
- add \Somnambulist\EnvironmentLoader\ServiceProvider::class to your config/app.php
- the provider should occur before any of your own providers, and as far up as possible
- ./artisan vendor:publish
- customise the providers you want to load to the environments you want them in
- remove those providers from your main app.php config