bytic / config
Php Framework
2.0.1
2026-11-22 19:22 UTC
Requires
- php: ^8.0
- symfony/config: ^5.0|^6.0|^7.0|^8.0
Requires (Dev)
- bytic/console: ^1.0|^2.0
- bytic/container: ^0.9|^1.0|^2.0
- phpunit/phpunit: ^9.6
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
ByTIC Config component
Compatibility
PHP 8.0 or later and Symfony Config 5, 6, 7, or 8 are supported. Symfony
versions have their own PHP requirements; Symfony 8 requires PHP 8.4 or later.
Existing Nip\Config classes, the config() helper, and INI/PHP loading remain
available. Symfony Config is a dependency, but this package does not yet expose
Symfony's configuration tree or loader APIs.
The console commands remain based on ByTIC Console. Subclasses overriding their
configure() method must declare : void for compatibility with Symfony Console 8.
Usage
use Nip\Config\Factory; $config = Factory::fromFile('config.ini', true); $value = $config->get('section.key', 'default');