All notable changes to Config
will be documented in this file
- Support for writing configuration back to file and string (#122)
- Implementations of
ParserInterface
and cleanup (#120) - Tests for PHP 7
- Parsing PHP file (#114)
- Parsing PHP string with
$config
variable (#118)
- Usage of short array syntax (#109)
- Support for string parsers (#111)
- Changes of interface and parsers
- Added support for PHP constants in YAML (#112)
- Possibility to use an own file parser (#103)
- Merge support (#96)
- Set PHP 5.5.9 as minimum required version (#75 and #99)
- Fix PHP 5.6 test (#100)
- Edit PHP versions tested on Travis (#101)
- Add more info about the symfony/yaml requirement (#97 and #102)
- PHP 5.3 and 5.4 are no longer supported.
- Package-level exceptions so callers can catch exceptions at package-level
- Added support for files suffixed with the
.dist
extension
- Rearranged error-handling in
FileParser\Json
for better test coverage - Project-wide code style fixes to adhere to PSR-2
- Fixes
has()
method returningfalse
onnull
values in a config field
- PHP 7.0 is now tested on Travis
- Added namespace to example in
README.md
- Added
has()
method toConfigInterface
and implemented inAbstractConfig
- Added
all()
method toConfigInterface
and implemented inAbstractConfig
- Added documentation for new methods
AbstractConfig
now implements theIterator
interface
- PSR-2 compliance
- Give YamlParser file content instead of path
- Updated
AbstractConfig
constructor to only accept arrays - Removed check to fix loading an empty array
- Fix for #44: Warnings emitted if configuration file is empty
- Fix for #55: Unset cache after a set
- Some code smells in
Config
- Updated README.md
- Various things relating to recent repo transfer
- Individual
FileParser
classes for each filetype, and aFileParserInterface
to type-hint methods with - Optional paths; you can now prefix a path with '?' and
Config
will skip the file if it doesn't exist
- Made the Symfony YAML component a suggested dependency
- Parent constructor was not being called from
Config
- Moved file logic into file-specific loaders
- Corrected class name in README.md
- Removed kludgy hack for YAML/YML
- Can now extend
AbstractConfig
to create simple subclasses without any file IO
- Moved file logic into file-specific loaders
- Cleaned up exception class constructors, PSR-2 compliance
- Moved file logic into file-specific loaders
- Created new classes
ConfigInterface
andAbstractConfig
to simplify code
- Array and directory support in constructor
- Corrected deprecated usage of
Symfony\Yaml
- Array and directory support in constructor
- Now can load .YAML and .YML files
- Uses PSR-4 for autoloading
- Supports YAML
- Now uses custom exceptions
- Tagged first release