subscribo / config
Config package for reading configuration
Requires
- php: ^5.4 || ^7.0
- subscribo/support: ^0.1.0
- symfony/config: ^2.6 || ^3.0
- symfony/yaml: ^2.6 || ^3.0
Suggests
- laravel/framework: This package have been developed to work with The Laravel Framework 5.0
- subscribo/environment: If Environment based configuration support is needed or if using ServiceProvider. Suggested version: @dev
This package is not auto-updated.
Last update: 2024-11-23 20:48:10 UTC
README
Config package for reading configuration
1. Installation
1.1 Add repository containing this package to your project's composer.json
(note: you need to have access to this repository as well as to resources it points to)
1.2 Add to your project's composer.json dependency under "require" key (note: do not add trailing comma if it is the last item listed)
"subscribo/config": "^0.1.0",
1.3 You might need to add (to the same place as in 1.2) also dependencies suggested in this package's composer.json, especially:
"subscribo/environment": "^0.1.0",
1.4 If you are using Laravel (5.0), you might want to add
'\\Subscribo\\Config\\Integration\\Laravel\\ConfigServiceProvider',
under 'providers' key in config/app.php file.
or
if (class_exists('\\Subscribo\\Config\\Integration\\Laravel\\ConfigServiceProvider')) { $app->register('\\Subscribo\\Config\\Integration\\Laravel\\ConfigServiceProvider'); }
in bootstrap/app.php for conditional registration
Note: If used with package adding these dependencies and/or registering this service provider for you, respective steps might not be necessary.
2.1 Note
This package uses or extends symfony/config package
Might contain third party code or part(s) of third party code (e.g. (parts of) Laravel framework - http://laravel.com of parts of Symfony/Config or Symfony documentation - http://symfony.com )