LaravelDevConfig
![Latest stable][ico-version-stable]
![Monthly installs][ico-downloads-monthly], (*1)
A service provider for laravel to managing the dev config., (*2)
Main features
- Providers by environment
- Aliases by environment
Installation
Composer
composer require triadev/laravel-dev-config, (*3)
Application
Register the service provider in the config/app.php (Laravel)., (*4)
'providers' => [
\Triadev\LaravelDevConfig\Provider\LaravelDevConfigServiceProvider::class
]
Once installed you can now publish your config file and set your correct configuration for using the package., (*5)
php artisan vendor:publish --provider="\Triadev\LaravelDevConfig\Provider\LaravelDevConfigServiceProvider" --tag="config"
This will create a file config/triadev-dev-config.php
., (*6)
Configuration
Key |
Value |
Description |
environments |
ARRAY |
Enviroments (local, testing, ...) |
providers |
ARRAY |
Providers |
providers.* |
STRING |
Example: IdeHelperServiceProvider::class |
aliases |
ARRAY |
Aliases |
aliases.* |
KEY => VALUE |
Alias => Facade-Class ('Debugbar' => Facade::class) |
Reporting Issues
If you do find an issue, please feel free to report it with GitHub's bug tracker for this project., (*7)
Alternatively, fork the project and make a pull request. :), (*8)
Other
Author
License
The code for LaravelDevConfig is distributed under the terms of the MIT license (see LICENSE)., (*9)