utopia-php/config
A simple Config library to managing application config variables
2.0.6
351K downloads/mo
#4627 most downloaded on Packagist
utopia-php/config
What this package is like to depend on
Last release 9 days ago
14 Aug 2026
Ships unpredictably
gaps range from 4 weeks to 5.1 years
Most releases are documented
notes for 9 of 11 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
11 releases · first in 2020
7 releases in the last 12 months
see the full history below
Release timeline
11 releases · Mar 2020 to Aug 2026Releases
latest 11-
2.0.614 Aug 2026 -
2.0.510 Aug 2026Release notes
Open source →- chore: allow validators 0.4
- docs: centralize CODE_OF_CONDUCT and CONTRIBUTING at the monorepo root
- docs: enforce documentation style with Vale
-
2.0.326 Jun 2026 -
2.0.223 Jun 2026Release notes
Open source →- fix(config): preserve literal backslashes in double-quoted dotenv values
- fix(config): reject top-level lists and harden dotenv quoting
- fix(config): YAML parser rejects non-mapping top level
- fix(config): correctness fixes for null handling, parsing, and load
-
2.0.123 Jun 2026 -
2.0.016 Dec 2025Release notes
Open source →2.0.0 Release
- Configs are now instanced, compared to previous static
::getParam() - Configs can now be loaded from variable, file, or env variables
- Configs are now strictly typed and require validator
- Dot notation is now supported for key lookup
- Dotenv parser now parses values smartly for boolean types
Check our README.md for code examples.
What's Changed
- Refactor: assertions
by @lohanidamodar in #16 - Feat: V2 by @Meldiron in #17
Full Changelog: 1.0.0...2.0.0
- Configs are now instanced, compared to previous static
-
1.0.018 Nov 2025Release notes
Open source →1.0.0 Release
- Default branch is now
main - New config loading adapters: JSON, YAML, Dotenv
- Breaking change requiring adapter when loading a config
Before:
use Utopia\Config\Config; Config::load('codes', __DIR__.'/codes.php');
After:
use Utopia\Config\Config; use Utopia\Config\Adapters\PHP; Config::load('codes', __DIR__.'/codes.php', new PHP());
What's Changed
- added Contributing.md by @Gautam1302 in #5
- doc-#1-issue-form-upgraded by @bipinparajuli in #2
- Create CODE_OF_CONDUCT.md by @wireva in #6
- Added code linter to utopia-php/config by @toukirkhan in #10
- Update composer.json by @christyjacob4 in #11
- updated doc - removed authors by @maxslimb in #8
- Feat 4391 add code analyzer to ‘utopia php/config' by @Aadeesh11 in #9
- Use github action for tests by @lohanidamodar in #13
- Update: optimize stuff in config loader. by @ItzNotABug in #14
- Feat: Config file adapters by @Meldiron in #15
New Contributors
- @Gautam1302 made their first contribution in #5
- @bipinparajuli made their first contribution in #2
- @wireva made their first contribution in #6
- @toukirkhan made their first contribution in #10
- @christyjacob4 made their first contribution in #11
- @maxslimb made their first contribution in #8
- @Aadeesh11 made their first contribution in #9
- @lohanidamodar made their first contribution in #13
- @ItzNotABug made their first contribution in #14
- @Meldiron made their first contribution in #15
Full Changelog: 0.2.2...1.0.0
- Default branch is now
-
0.2.224 Oct 2020Release notes
Open source →Updated tests, CI, coding standard and added some minor fixes based on Psalm analysis.
-
0.2.120 Jun 2020 -
0.2.028 Mar 2020Nothing published for this version
-
0.1.025 Mar 2020Nothing published for this version