NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #2822 most downloaded on Packagist
Lightweight configuration file loader that supports PHP, INI, XML, JSON, and YAML files
Latest stable
3.2.0
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 4 weeks to 2.0 years
Nearly every release is documented
notes for 28 of 31 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
31 releases · first in 2014
Drag across the ruler to compare, or tap a release to open it.
Fix php 8.4 deprecations implicitly marking parameter as nullable is deprecated by @8ctopus in https://github.com/hassankhan/config/pull/163
Full Changelog: https://github.com/hassankhan/config/compare/3.1.0...3.2.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Drop support for the end of life PHP versions by @nbayramberdiyev in https://github.com/hassankhan/config/pull/149
Full Changelog: https://github.com/hassankhan/config/compare/3.0.1...3.1.0
Full Changelog: 3.0.1...3.1.0
Fix merge by @DavidePastore in https://github.com/hassankhan/config/pull/147
Full Changelog: https://github.com/hassankhan/config/compare/3.0.0...3.0.1
Full Changelog: 3.0.0...3.0.1
Move CI to GitHub actions (#132, #136 and #137)
Typehint on Xml parser, parse method
Support for writing configuration back to file and string
Implementations of ParserInterface and cleanup
ParserInterface and cleanup (#120)Parsing PHP string with $config variable
$config variable (#118)Changes of interface and parsers
Added support for PHP constants in YAML
Possibility to use an own file parser
Set PHP 5.5.9 as minimum required version (#75 and #99)
Nothing published for this version
Nothing published for this version
Nothing published for this version
Package-level exceptions so callers can catch exceptions at package-level
.dist extensionFileParser\Json for better test coveragehas() method returning false on null values in a config fieldPHP 7.0 is now tested on Travis
Added namespace to example in README.md
README.mdhas() method to ConfigInterface and implemented in AbstractConfigall() method to ConfigInterface and implemented in AbstractConfigAbstractConfig now implements the Iterator interfaceAbstractConfig constructor to only accept arrays### Fixed - Some code smells in Config - Updated README.md
ConfigVarious things relating to recent repo transfer
Individual FileParser classes for each filetype, and a FileParserInterface to type-hint methods with
FileParser classes for each filetype, and a FileParserInterface to type-hint methods withConfig will skip the file if it doesn't existConfigMoved file logic into file-specific loaders
Removed kludgy hack for YAML/YML
Can now extend AbstractConfig to create simple subclasses without any file IO
AbstractConfig to create simple subclasses without any file IOMoved file logic into file-specific loaders
Moved file logic into file-specific loaders
Created new classes ConfigInterface and AbstractConfig to simplify code
ConfigInterface and AbstractConfig to simplify codeCorrected deprecated usage of Symfony\Yaml
Symfony\YamlArray and directory support in constructor
### Added - Uses PSR-4 for autoloading - Supports YAML - Now uses custom exceptions
### Added - Tagged first release
One column per quarter.