├── .coveralls.yml ├── .docheader ├── .github └── workflows │ ├── code-quality.yml │ └── testing.yml ├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── composer.json ├── phpcs.xml.dist ├── phpunit.xml ├── phpunit.xml.dist ├── repositories.yaml ├── src ├── AbstractConfig.php ├── AbstractConfigSchema.php ├── Config.php ├── ConfigFactory.php ├── ConfigInterface.php ├── ConfigSchema.php ├── ConfigSchemaInterface.php ├── ConfigTrait.php ├── ConfigValidatorInterface.php ├── Exception │ ├── ConfigException.php │ ├── FailedToInstantiateParentException.php │ ├── FailedToLoadConfigException.php │ ├── FailedToProcessConfigException.php │ ├── FailedToResolveConfigException.php │ ├── InvalidConfigException.php │ ├── InvalidConfigurationSourceException.php │ └── KeyNotFoundException.php ├── Loader.php └── Loader │ ├── AbstractLoader.php │ ├── JSONLoader.php │ ├── LoaderFactory.php │ ├── LoaderInterface.php │ └── PHPLoader.php └── tests ├── ConfigFactoryTest.php ├── ConfigSchemaTest.php ├── ConfigTest.php ├── ConfigTraitTest.php ├── TestCase.php ├── bootstrap.php └── fixtures ├── config_file.php ├── deep_config_file.php ├── dummy_file.txt ├── override_config_file.php ├── override_deep_config_file.php └── schema_config_file.php /.coveralls.yml: -------------------------------------------------------------------------------- 1 | json_path: coveralls-upload.json 2 | -------------------------------------------------------------------------------- /.docheader: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/.docheader -------------------------------------------------------------------------------- /.github/workflows/code-quality.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/.github/workflows/code-quality.yml -------------------------------------------------------------------------------- /.github/workflows/testing.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/.github/workflows/testing.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | composer.lock 3 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/composer.json -------------------------------------------------------------------------------- /phpcs.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/phpcs.xml.dist -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/phpunit.xml -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /repositories.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/repositories.yaml -------------------------------------------------------------------------------- /src/AbstractConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/src/AbstractConfig.php -------------------------------------------------------------------------------- /src/AbstractConfigSchema.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/src/AbstractConfigSchema.php -------------------------------------------------------------------------------- /src/Config.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/src/Config.php -------------------------------------------------------------------------------- /src/ConfigFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/src/ConfigFactory.php -------------------------------------------------------------------------------- /src/ConfigInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/src/ConfigInterface.php -------------------------------------------------------------------------------- /src/ConfigSchema.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/src/ConfigSchema.php -------------------------------------------------------------------------------- /src/ConfigSchemaInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/src/ConfigSchemaInterface.php -------------------------------------------------------------------------------- /src/ConfigTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/src/ConfigTrait.php -------------------------------------------------------------------------------- /src/ConfigValidatorInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/src/ConfigValidatorInterface.php -------------------------------------------------------------------------------- /src/Exception/ConfigException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/src/Exception/ConfigException.php -------------------------------------------------------------------------------- /src/Exception/FailedToInstantiateParentException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/src/Exception/FailedToInstantiateParentException.php -------------------------------------------------------------------------------- /src/Exception/FailedToLoadConfigException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/src/Exception/FailedToLoadConfigException.php -------------------------------------------------------------------------------- /src/Exception/FailedToProcessConfigException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/src/Exception/FailedToProcessConfigException.php -------------------------------------------------------------------------------- /src/Exception/FailedToResolveConfigException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/src/Exception/FailedToResolveConfigException.php -------------------------------------------------------------------------------- /src/Exception/InvalidConfigException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/src/Exception/InvalidConfigException.php -------------------------------------------------------------------------------- /src/Exception/InvalidConfigurationSourceException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/src/Exception/InvalidConfigurationSourceException.php -------------------------------------------------------------------------------- /src/Exception/KeyNotFoundException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/src/Exception/KeyNotFoundException.php -------------------------------------------------------------------------------- /src/Loader.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/src/Loader.php -------------------------------------------------------------------------------- /src/Loader/AbstractLoader.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/src/Loader/AbstractLoader.php -------------------------------------------------------------------------------- /src/Loader/JSONLoader.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/src/Loader/JSONLoader.php -------------------------------------------------------------------------------- /src/Loader/LoaderFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/src/Loader/LoaderFactory.php -------------------------------------------------------------------------------- /src/Loader/LoaderInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/src/Loader/LoaderInterface.php -------------------------------------------------------------------------------- /src/Loader/PHPLoader.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/src/Loader/PHPLoader.php -------------------------------------------------------------------------------- /tests/ConfigFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/tests/ConfigFactoryTest.php -------------------------------------------------------------------------------- /tests/ConfigSchemaTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/tests/ConfigSchemaTest.php -------------------------------------------------------------------------------- /tests/ConfigTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/tests/ConfigTest.php -------------------------------------------------------------------------------- /tests/ConfigTraitTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/tests/ConfigTraitTest.php -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/tests/TestCase.php -------------------------------------------------------------------------------- /tests/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/tests/bootstrap.php -------------------------------------------------------------------------------- /tests/fixtures/config_file.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/tests/fixtures/config_file.php -------------------------------------------------------------------------------- /tests/fixtures/deep_config_file.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/tests/fixtures/deep_config_file.php -------------------------------------------------------------------------------- /tests/fixtures/dummy_file.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/tests/fixtures/dummy_file.txt -------------------------------------------------------------------------------- /tests/fixtures/override_config_file.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/tests/fixtures/override_config_file.php -------------------------------------------------------------------------------- /tests/fixtures/override_deep_config_file.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/tests/fixtures/override_deep_config_file.php -------------------------------------------------------------------------------- /tests/fixtures/schema_config_file.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brightnucleus/config/HEAD/tests/fixtures/schema_config_file.php --------------------------------------------------------------------------------