ghostwriter/config
Provides an object that maps configuration keys to values.
2.1.3
5.1M downloads/mo
#1535 most downloaded on Packagist
ghostwriter/config
What this package is like to depend on
Last release 4 months ago
21 Apr 2026
Release timing varies
gaps range from 2 weeks to 1.5 years
Most releases are documented
notes for 11 of 13 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
13 releases · first in 2023
7 releases in the last 12 months
see the full history below
Release timeline
13 releases · Jan 2023 to Apr 2026Releases
latest 13-
2.1.321 Apr 2026 -
2.1.220 Apr 2026Release notes
Open source →What's Changed
- Update phpunit/phpunit to version 13.1.4 by @ghostwriter in #746
- Update
phpunit.xml.distfile by @ghostwriter in #747 - Update phpunit/phpunit to version 13.1.5 by @ghostwriter in #750
- Update
phpunit.xml.distfile by @ghostwriter in #751 - Update phpunit/phpunit to version 13.1.6 by @ghostwriter in #755
- Update
phpunit.xml.distfile by @ghostwriter in #756 - Remove phar directory and phive.xml file by @ghostwriter in #760
- Update .gitattributes by @ghostwriter in #761
- Update phpunit/phpunit to version 13.1.7 by @ghostwriter in #765
- Update
phpunit.xml.distfile by @ghostwriter in #766 - Update ghostwriter/container to version 7.0.0 by @ghostwriter in #770
- Update composer dependencies by @ghostwriter in #771
Full Changelog: 2.1.1...2.1.2
-
2.1.114 Apr 2026 -
2.1.014 Apr 2026 -
2.0.214 Dec 2025 -
2.0.119 Nov 2025 -
2.0.001 Nov 2025Release notes
Open source →What's Changed
Added
- Class
Ghostwriter\Config\Configurationhas been added. - Class
Ghostwriter\Config\Exception\ConfigurationDirectoryNotFoundExceptionhas been added. - Class
Ghostwriter\Config\Exception\ConfigurationDirectoryNotReadableExceptionhas been added. - Class
Ghostwriter\Config\Exception\ConfigurationFileNotFoundExceptionhas been added. - Class
Ghostwriter\Config\Exception\ConfigurationFileNotReadableExceptionhas been added. - Class
Ghostwriter\Config\Exception\ConfigurationFilePathResolutionExceptionhas been added. - Class
Ghostwriter\Config\Exception\ConfigurationKeyMustBeNonEmptyStringExceptionhas been added. - Class
Ghostwriter\Config\Exception\ConfigurationKeyMustBeStringExceptionhas been added. - Class
Ghostwriter\Config\Exception\FailedToLoadConfigurationFileExceptionhas been added. - Class
Ghostwriter\Config\Exception\FailedToLoadConfigurationFileWithErrorsExceptionhas been added. - Class
Ghostwriter\Config\Exception\InvalidConfigurationFileExceptionhas been added. - Class
Ghostwriter\Config\Exception\InvalidConfigurationKeyExceptionhas been added. - Class
Ghostwriter\Config\Exception\InvalidConfigurationValueExceptionhas been added. - Class
Ghostwriter\Config\Exception\InvalidDotNotationConfigurationKeyExceptionhas been added. - Interface
Ghostwriter\Config\Interface\ConfigurationExceptionInterfacehas been added. - Interface
Ghostwriter\Config\Interface\ConfigurationInterfacehas been added.
Removed
- Class
Ghostwriter\Config\Confighas been deleted. - Class
Ghostwriter\Config\ConfigFactoryhas been deleted. - Class
Ghostwriter\Config\Exception\ConfigDirectoryNotFoundExceptionhas been deleted. - Class
Ghostwriter\Config\Exception\ConfigFileNotFoundExceptionhas been deleted. - Class
Ghostwriter\Config\Exception\EmptyConfigKeyExceptionhas been deleted. - Class
Ghostwriter\Config\Exception\ExceptionInterfacehas been deleted. - Class
Ghostwriter\Config\Exception\InvalidConfigFileExceptionhas been deleted. - Class
Ghostwriter\Config\Exception\InvalidConfigKeyExceptionhas been deleted. - Class
Ghostwriter\Config\Exception\ShouldNotHappenExceptionhas been deleted. - Interface
Ghostwriter\Config\ConfigFactoryInterfacehas been deleted. - Interface
Ghostwriter\Config\ConfigInterfacehas been deleted. - Interface
Ghostwriter\Config\ConfigProviderInterfacehas been deleted.
Full Changelog: 1.0.0...2.0.0
Release notes
Open source →Added
- Class
Ghostwriter\Config\Configurationhas been added. - Class
Ghostwriter\Config\Exception\ConfigurationDirectoryNotFoundExceptionhas been added. - Class
Ghostwriter\Config\Exception\ConfigurationDirectoryNotReadableExceptionhas been added. - Class
Ghostwriter\Config\Exception\ConfigurationFileNotFoundExceptionhas been added. - Class
Ghostwriter\Config\Exception\ConfigurationFileNotReadableExceptionhas been added. - Class
Ghostwriter\Config\Exception\ConfigurationFilePathResolutionExceptionhas been added. - Class
Ghostwriter\Config\Exception\ConfigurationKeyMustBeNonEmptyStringExceptionhas been added. - Class
Ghostwriter\Config\Exception\ConfigurationKeyMustBeStringExceptionhas been added. - Class
Ghostwriter\Config\Exception\FailedToLoadConfigurationFileExceptionhas been added. - Class
Ghostwriter\Config\Exception\FailedToLoadConfigurationFileWithErrorsExceptionhas been added. - Class
Ghostwriter\Config\Exception\InvalidConfigurationFileExceptionhas been added. - Class
Ghostwriter\Config\Exception\InvalidConfigurationKeyExceptionhas been added. - Class
Ghostwriter\Config\Exception\InvalidConfigurationValueExceptionhas been added. - Class
Ghostwriter\Config\Exception\InvalidDotNotationConfigurationKeyExceptionhas been added. - Interface
Ghostwriter\Config\Interface\ConfigurationExceptionInterfacehas been added. - Interface
Ghostwriter\Config\Interface\ConfigurationInterfacehas been added.
Removed
- Class
Ghostwriter\Config\Confighas been deleted. - Class
Ghostwriter\Config\ConfigFactoryhas been deleted. - Class
Ghostwriter\Config\Exception\ConfigDirectoryNotFoundExceptionhas been deleted. - Class
Ghostwriter\Config\Exception\ConfigFileNotFoundExceptionhas been deleted. - Class
Ghostwriter\Config\Exception\EmptyConfigKeyExceptionhas been deleted. - Class
Ghostwriter\Config\Exception\ExceptionInterfacehas been deleted. - Class
Ghostwriter\Config\Exception\InvalidConfigFileExceptionhas been deleted. - Class
Ghostwriter\Config\Exception\InvalidConfigKeyExceptionhas been deleted. - Class
Ghostwriter\Config\Exception\ShouldNotHappenExceptionhas been deleted. - Interface
Ghostwriter\Config\ConfigFactoryInterfacehas been deleted. - Interface
Ghostwriter\Config\ConfigInterfacehas been deleted. - Interface
Ghostwriter\Config\ConfigProviderInterfacehas been deleted.
- Class
-
1.0.007 Jan 2025Release notes
Open source →What's Changed
Added
- Class
Ghostwriter\Config\ConfigFactoryInterfacehas been added - Class
Ghostwriter\Config\ConfigFactoryhas been added - Class
Ghostwriter\Config\ConfigInterfacehas been added - Class
Ghostwriter\Config\Exception\ExceptionInterfacehas been added - Method
Ghostwriter\Config\ConfigFactory#createFromFile()has been added
Changed
- Method
Ghostwriter\Config\ConfigFactory#createFromPath()changed toGhostwriter\Config\ConfigFactory#createFromFile() - The return type of
Ghostwriter\Config\Config#merge()changed fromvoidto theself - The return type of
Ghostwriter\Config\ConfigFactory#create()changed fromGhostwriter\Config\Configto theGhostwriter\Config\ConfigInterface
Removed
- Class
Ghostwriter\Config\Contract\ConfigFactoryInterfacehas been deleted - Class
Ghostwriter\Config\Contract\ConfigInterfacehas been deleted - Class
Ghostwriter\Config\Contract\Exception\ConfigExceptionInterfacehas been deleted - Method
Ghostwriter\Config\Config#append()has been removed - Method
Ghostwriter\Config\Config#count()has been removed - Method
Ghostwriter\Config\Config#join()has been removed - Method
Ghostwriter\Config\Config#offsetExists()has been removed - Method
Ghostwriter\Config\Config#offsetGet()has been removed - Method
Ghostwriter\Config\Config#offsetSet()has been removed - Method
Ghostwriter\Config\Config#offsetUnset()has been removed - Method
Ghostwriter\Config\Config#prepend()has been removed - Method
Ghostwriter\Config\Config#wrap()has been removed - Method
Ghostwriter\Config\ConfigFactory#createFromPath()has been removed
Full Changelog: 0.4.1...1.0.0
Release notes
Open source →Added
- Class
Ghostwriter\Config\ConfigFactoryInterfacehas been added - Class
Ghostwriter\Config\ConfigFactoryhas been added - Class
Ghostwriter\Config\ConfigInterfacehas been added - Class
Ghostwriter\Config\Exception\ExceptionInterfacehas been added - Method
Ghostwriter\Config\ConfigFactory#createFromFile()has been added
Changed
- Method
Ghostwriter\Config\ConfigFactory#createFromPath()changed toGhostwriter\Config\ConfigFactory#createFromFile() - The return type of
Ghostwriter\Config\Config#merge()changed fromvoidto theself - The return type of
Ghostwriter\Config\ConfigFactory#create()changed fromGhostwriter\Config\Configto theGhostwriter\Config\ConfigInterface
Removed
- Class
Ghostwriter\Config\Contract\ConfigFactoryInterfacehas been deleted - Class
Ghostwriter\Config\Contract\ConfigInterfacehas been deleted - Class
Ghostwriter\Config\Contract\Exception\ConfigExceptionInterfacehas been deleted - Method
Ghostwriter\Config\Config#append()has been removed - Method
Ghostwriter\Config\Config#count()has been removed - Method
Ghostwriter\Config\Config#join()has been removed - Method
Ghostwriter\Config\Config#offsetExists()has been removed - Method
Ghostwriter\Config\Config#offsetGet()has been removed - Method
Ghostwriter\Config\Config#offsetSet()has been removed - Method
Ghostwriter\Config\Config#offsetUnset()has been removed - Method
Ghostwriter\Config\Config#prepend()has been removed - Method
Ghostwriter\Config\Config#wrap()has been removed - Method
Ghostwriter\Config\ConfigFactory#createFromPath()has been removed
- Class
-
0.4.111 Jul 2023 -
0.4.029 May 2023Release notes
Open source →What's Changed
- Lock file maintenance by @ghostwriter in #7
- Lock file maintenance by @ghostwriter in #8
Full Changelog: 0.3.0...0.4.0
-
0.3.017 Jan 2023Nothing published for this version
-
0.2.005 Jan 2023Nothing published for this version
-
0.1.002 Jan 2023