PHPackages                             core45/system-settings-db - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. core45/system-settings-db

ActiveLibrary[Database &amp; ORM](/categories/database)

core45/system-settings-db
=========================

Get system settings for your Laravel app from database

0.1.5(2y ago)11.6kMITPHP

Since Jun 10Pushed 2y ago1 watchersCompare

[ Source](https://github.com/core45/system-settings-db)[ Packagist](https://packagist.org/packages/core45/system-settings-db)[ RSS](/packages/core45-system-settings-db/feed)WikiDiscussions main Synced today

READMEChangelog (6)DependenciesVersions (6)Used By (0)

system-settings-db
==================

[](#system-settings-db)

Very simple package for storing settings for your Laravel project in the database.

Installation
------------

[](#installation)

Install the package with composer:

```
composer require core45/system-settings-db
```

Publish the package files:

```
php artisan vendor:publish --provider="Core45\SystemSettingsDb\SystemSettingsDbServiceProvider"

```

Migrate the database:

```
php artisan migrate

```

Usage
-----

[](#usage)

After migrating the new table system\_settings will be created in the database. The package doesn't provide a UI for managing the settings. You have to add/modify/delete the records on your own. The important columns are:

- key: the key of the setting
- value: the value of the setting

The other columns are for your convenience. You can also add your own columns to the table if you like.

### Setting a value

[](#setting-a-value)

In the database you can set a value for a key. The key is a string and the value can be a string, integer or boolean.

To access the value of a key you can use the `config()` helper function.

```
config('system-settings.some-key');
```

So for example in your blade template you can use your contact email you previously stored in the settings table:

```
My email is: {{ config('system-settings.email') }}
```

Cache
-----

[](#cache)

The package uses the Laravel cache so if you'd like to see the changes immediately clean the Laravel cache. Default TTL of the cache is 60 seconds. You can change this setting in the config file.

License
-------

[](#license)

MIT

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~14 days

Total

5

Last Release

1062d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/17904235?v=4)[Kornel](/maintainers/core45)[@core45](https://github.com/core45)

---

Top Contributors

[![core45](https://avatars.githubusercontent.com/u/17904235?v=4)](https://github.com/core45 "core45 (13 commits)")

### Embed Badge

![Health badge](/badges/core45-system-settings-db/health.svg)

```
[![Health](https://phpackages.com/badges/core45-system-settings-db/health.svg)](https://phpackages.com/packages/core45-system-settings-db)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k117.2M118](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[pgvector/pgvector

pgvector support for PHP

198741.5k12](/packages/pgvector-pgvector)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
