yaconf

PHP Persistent Configurations Container


Yaconf is a configurations container, it parses ini files, and store the result in PHP when PHP is started

License: PHP

Latest releases

Version Release Download
1.2.0 2026-08-18 yaconf-1.2.0.tgz
1.1.3 2026-08-06 yaconf-1.1.3.tgz
1.1.2 2022-05-19 yaconf-1.1.2.tgz
1.1.1 2021-12-16 yaconf-1.1.1.tgz
1.1.0 2020-03-12 yaconf-1.1.0.tgz
Show all releases

Changelog

Version Message
1.2.0 - Added sub-directory support: INI files in sub-directories are loaded recursively (up to 16 levels) and namespaced by the directory name ('sub/x.ini' as 'sub.x')
- Added hot-reload tracking of sub-directories
- Optimized config storage with compact block (two-phase compaction)
- Added PHP PIE support
- A name conflict between an INI file and a same-named directory now raises a warning: the directory wins and the file is skipped
- Fixed memory leaks when a dot-notation key overrides a scalar value
- Fixed memory leak on foreach-by-ref over compact block tables with PHP 7.0
- Changed Yaconf::__debug_info() to report the stored value's address
1.1.3 - Fixed memory leak with PHP 8.1
- Fixed garbage value being returned when an INI file is unreadable
- Fixed Yaconf::get() with paths deeper than a scalar value
- Fixed section inheritance from numeric section names
- Fixed fatal error and a memory leak in the startup scan
1.1.2 - Fixed ISSUE #67 (parsing bug with PHP8.1)
1.1.1 - Fixed build with PHP8.1
- Change to using stub.php generated arginfos
1.1.0 - Refactor Yaconf for performance
- Around 40% time reduced according to benchmark
Show complete changelog