chillerlan/php-settings-container
A container class for immutable settings objects. Not a DI container.
4.0.0
41M downloads/mo
#318 most downloaded on Packagist
chillerlan/php-settings-container
What this package is like to depend on
Last release 5 months ago
20 Mar 2026
Release timing varies
gaps range from 3 weeks to 1.7 years
Some releases are documented
notes for 10 of 23 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
23 releases · first in 2018
2 releases in the last 12 months
see the full history below
Release timeline
23 releases · Aug 2018 to Mar 2026Releases
latest 23-
4.0.020 Mar 2026 -
3.3.020 Mar 2026Release notes
Open source →- Adjusted the behaviour of several methods in order to properly support property hooks in PHP 8.4+.
- Added the methods
SettingsContainerAbstract::hasSetHook()andSettingsContainerAbstract::hasGetHook()to check for existing property hooks. - Added the protected constants
SettingsContainerAbstract::SET_PREFIXandSettingsContainerAbstract::GET_PREFIX - Added the attribute
ThrowOnInvalidPropertyto tell the magic get/set methods whether to throw when a property is inaccessible via the methodSettingsContainerAbstract::throwOnInvalidProperty(). - dependency updates
(i somehow forgot to tag this earlier...)
-
3.2.116 Jul 2024Release notes
Open source →SettingsContainerAbstract::toJSON()will now always throw aJsonExceptionon error, regardless of the given$jsonOptions- switched static analysis from phan to phpstan (see chillerlan/php-qrcode#277)
- CI & dependency updates
-
3.2.002 Mar 2024Release notes
Open source →- implements the
Serializableinterface SettingsContainerAbstract::toArray()now runs the object values through the magic getter (as it always should have)- added explicit nullable types to several method parameters
- added
declare(strict_types=1) - dependency & CI updates
- implements the
-
3.1.105 Jan 2024 -
3.1.017 Jul 2023 -
3.0.005 Nov 2022 -
2.1.617 Jul 2024Release notes
Open source →SettingsContainerAbstract::toJSON()will now always throw aJsonExceptionon error, regardless of the given$jsonOptionsSettingsContainerAbstract::toArray()now runs the object values through the magic getter (as it always should have)- added explicit nullable types to several method parameters
- added
declare(strict_types=1) - switched static analysis from phan to phpstan (see chillerlan/php-qrcode#277)
- CI & dependency updates
(backport of v 3.2.x except for serialize support)
-
2.1.505 Jan 2024 -
2.1.405 Jul 2022Nothing published for this version
-
2.1.309 Mar 2022Nothing published for this version
-
2.1.206 Sep 2021Nothing published for this version
-
2.1.106 Jan 2021Nothing published for this version
-
2.1.007 Oct 2020Nothing published for this version
-
2.0.016 Apr 2020Nothing published for this version
-
1.2.312 Dec 2023Release notes
Open source →- fix
JsonSerializable::jsonSerialize()return type deprecation warning in PHP 8.1+ (#2) - CI updates
- fix
-
1.2.203 Sep 2021Nothing published for this version
-
1.2.110 Sep 2019Nothing published for this version
-
1.2.009 Sep 2019Nothing published for this version
-
1.1.004 May 2019Nothing published for this version
-
1.0.201 Mar 2019Nothing published for this version
-
1.0.101 Oct 2018Nothing published for this version
-
1.0.028 Aug 2018Nothing published for this version