You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
paulcortez 227d8b5ed7 initial
initial
8 months ago
..
admin initial 8 months ago
src initial 8 months ago
.php-cs-fixer.dist.php initial 8 months ago
CONTRIBUTING.md initial 8 months ago
LICENSE initial 8 months ago
README.md initial 8 months ago
SECURITY.md initial 8 months ago
UPGRADING.md initial 8 months ago
composer-unused.php initial 8 months ago
composer.json initial 8 months ago
deptrac.yaml initial 8 months ago
infection.json.dist initial 8 months ago
mkdocs.yml initial 8 months ago
psalm-baseline.xml initial 8 months ago
psalm.xml initial 8 months ago
psalm_autoload.php initial 8 months ago
rector.php initial 8 months ago
roave-bc-check.yaml initial 8 months ago

README.md

CodeIgniter Settings

This project provides database storage and retrieval of application settings, with a fallback to the config classes for CodeIgniter 4 framework.

Coverage Status

PHP CodeIgniter License

Installation

composer require codeigniter4/settings

Migrate your database:

php spark migrate --all

Basic usage

Set the value:

service('settings')->set('App.siteName', 'Example');

Get the value:

service('settings')->get('App.siteName');

Forget the value:

service('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.