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.4kMITPHP

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 1mo ago

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 27% 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

1016d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4f051e223739810bf8ae8581a9d63185ca4056a751c4101d35c29e1ca799205f?d=identicon)[core45](/maintainers/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

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90440.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)[wildside/userstamps

Laravel Userstamps provides an Eloquent trait which automatically maintains `created\_by` and `updated\_by` columns on your model, populated by the currently authenticated user in your application.

7511.7M13](/packages/wildside-userstamps)

PHPackages © 2026

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