golpilolz / db-configs
Store configurations in the database and use them in your Symfony application.
v1.0.1
2026-11-16 17:01 UTC
Requires
- php: >=8.3
- doctrine/doctrine-bundle: ^2.18 | ^3.2
- doctrine/orm: ^3.6
- symfony/dependency-injection: ^7.4 | ^8
- symfony/framework-bundle: ^7.4 | ^8
Requires (Dev)
- phpunit/phpunit: ^11.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Symfony bundle to store site settings as name/value pairs in the database and read them through a service.
$config->set('site_title', 'My site'); $config->get('site_title'); // 'My site' $config->setArray('opening_hours', ['monday' => '9:00-18:00']); $config->getArray('opening_hours'); // ['monday' => '9:00-18:00']
Documentation
License
MIT, see LICENSE.