$config = Config::getInstance(); $setting = $config->get('database.host');
$config = Config::getInstance(); $config->set('app.title', 'My Application');In this example, we retrieve an instance of the `Config` class and use it to set the value of the `app.title` configuration setting. The `Config` class is part of the core PHP language and is not associated with a specific library or package. However, there are many third-party libraries and frameworks that provide their own implementations of configuration management, such as Symfony's Config component, Laravel's Config facade, and Zend\Config.