GitPedia

Settings

Settings Library for CodeIgniter 4

From codeigniter4·Updated June 5, 2026·View on GitHub·

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.

Latest release: v2.3.0
March 29, 2026View Changelog →

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:

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

Get the value:

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

Forget the value:

php
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.

Contributors

Showing top 10 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from codeigniter4/settings via the GitHub API.Last fetched: 6/21/2026