Search by

bytic / config

gabrielsolomon

Php Framework

Package info

github.com/bytic/config

pkg:composer/bytic/config

Statistics

Installs: 13 514

Dependents: 26

Suggesters: 0

Stars: 0

Open Issues: 0

2.0.1 2026-11-22 19:22 UTC

README

ByTIC Config component

Latest Version on Packagist Latest Stable Version Latest Unstable Version

Software License Tests SensioLabsInsight Quality Score StyleCI Total Downloads

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');

Inspiration