Settings
Settings Library for CodeIgniter 4
This project provides database storage and retrieval of application settings, with a fallback to the config classes for CodeIgniter 4 framework. The project is written primarily in PHP, distributed under the MIT License license, first published in 2021. Key topics include: codeigniter4, config, settings.
CodeIgniter Settings
This project provides database storage and retrieval of application settings, with a fallback to the
config classes for CodeIgniter 4 framework.
Installation
composer require codeigniter4/settings
Migrate your database:
php spark migrate --all
Basic usage
Set the value:
phpservice('settings')->set('App.siteName', 'Example');
Get the value:
phpservice('settings')->get('App.siteName');
Forget the value:
phpservice('settings')->forget('App.siteName');
Docs
Read the full documentation: https://settings.codeigniter.com
Contributing
We accept and encourage contributions from the community in any shape. It doesn't matter
whether you can code, write documentation, or help find bugs, all contributions are welcome.
See the CONTRIBUTING.md file for details.
Contributors
Showing top 10 contributors by commit count.
