triadev / LaravelDevConfig by triadev

A service provider for laravel to managing the dev config.
4
0
1
Package Data
Maintainer Username: triadev
Maintainer Contact: christopher.lorke@gmx.de (Christopher Lorke)
Package Create Date: 2017-08-11
Package Last Update: 2017-08-12
Language: PHP
License: MIT
Last Refreshed: 2024-03-27 03:10:30
Package Statistics
Total Downloads: 4
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

LaravelDevConfig

Software license Latest stable Latest development Monthly installs

A service provider for laravel to managing the dev config.

Main features

  • Providers by environment
  • Aliases by environment

Installation

Composer

composer require triadev/laravel-dev-config

Application

Register the service provider in the config/app.php (Laravel).

'providers' => [
    \Triadev\LaravelDevConfig\Provider\LaravelDevConfigServiceProvider::class
]

Once installed you can now publish your config file and set your correct configuration for using the package.

php artisan vendor:publish --provider="\Triadev\LaravelDevConfig\Provider\LaravelDevConfigServiceProvider" --tag="config"

This will create a file config/triadev-dev-config.php.

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.

Alternatively, fork the project and make a pull request. :)

Other

Project related links

Author

License

The code for LaravelDevConfig is distributed under the terms of the MIT license (see LICENSE).