Subscribo / config by subscribo

Config package for reading configuration
76
0
3
Package Data
Maintainer Username: subscribo
Package Create Date: 2015-09-19
Package Last Update: 2016-11-26
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-12-22 03:05:22
Package Statistics
Total Downloads: 76
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 3
Total Forks: 0
Total Open Issues: 0

Config Package

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 )