PHPackages                             simonmarcellinden/databasesettings - 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. simonmarcellinden/databasesettings

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

simonmarcellinden/databasesettings
==================================

Package for save seeings in your database.

1.0.2(3y ago)08MITPHP

Since Jun 30Pushed 3y ago1 watchersCompare

[ Source](https://github.com/SimonMarcelLinden/databasesettings)[ Packagist](https://packagist.org/packages/simonmarcellinden/databasesettings)[ Docs](https://github.com/simonmarcellinden/mediable)[ RSS](/packages/simonmarcellinden-databasesettings/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

DatabaseSettings for Laravel/Lumen
==================================

[](#databasesettings-for-laravellumen)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b826d6fe1d69403c40ee9a35c07cd37f82c20f8477d7195027e280704347d468/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73696d6f6e6d617263656c6c696e64656e2f646174616261736573657474696e67732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/simonmarcellinden/databasesettings)[![Total Downloads](https://camo.githubusercontent.com/25691bb4baec3cd0581ebc58bbc3026a5701d01bf634bd193c4f7dcec22d69d7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73696d6f6e6d617263656c6c696e64656e2f646174616261736573657474696e67732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/simonmarcellinden/databasesettings)[![Build Status](https://camo.githubusercontent.com/57f80e5245105cff544984ab13d55b24522837dab0415b56ed06246ece306c7b/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f73696d6f6e6d617263656c6c696e64656e2f646174616261736573657474696e67732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/simonmarcellinden/databasesettings)

DatabaseSettings is a package to easily store settings in the database and retrieve the setting using config('settings').

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

[](#installation)

Via Composer

```
$ composer require simonmarcellinden/databasesettings
```

Register the package's service provider in config/app.php. In Laravel versions 5.5 and beyond, this step can be skipped if package auto-discovery is enabled.

Open and add the service provider to `bootstrap/app.php`

```
	$app->register(\SimonMarcelLinden\DatabaseSettings\DatabaseSettingsProvider::class);
```

### Publish the configurations

[](#publish-the-configurations)

Run this on the command line from the root of your project:

```
$ no config needed

```

Run the migrations to add the required tables to your database.

```
$ php artisan migrate:fresh
```

Run seed for example settings

```
$ php artisan db:seed --class=SimonMarcelLinden\DatabaseSettings\Database\Seeders\SettingSeeder
```

Default Routes
--------------

[](#default-routes)

Default routes for store/update &amp; view setting

```
	$router->group(['prefix' => 'image'], function () use ($router) {
		$router->get('/{id}', 'ImageController@show');
		$router->post('/upload', 'ImageController@upload');
		$router->delete('/delete/{id}', 'ImageController@delete');
	});
```

Add a Script or Style Source directly into your route or controller

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 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 ~59 days

Total

3

Last Release

1300d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5a5f83b3ba700a92cc1b909d328038b958bffe2cf9011a2e789b1b9aea895212?d=identicon)[SimonMarcelLinden](/maintainers/SimonMarcelLinden)

---

Top Contributors

[![SimonMarcelLinden](https://avatars.githubusercontent.com/u/45196475?v=4)](https://github.com/SimonMarcelLinden "SimonMarcelLinden (3 commits)")

---

Tags

laravelSettingsconfigdatabaselumen

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/simonmarcellinden-databasesettings/health.svg)

```
[![Health](https://phpackages.com/badges/simonmarcellinden-databasesettings/health.svg)](https://phpackages.com/packages/simonmarcellinden-databasesettings)
```

###  Alternatives

[arcanedev/laravel-settings

This package allows you to persists configs/settings for Laravel projects.

74131.4k6](/packages/arcanedev-laravel-settings)[illuminatech/config

Provides support for Laravel application runtime configuration managed in persistent storage

14921.0k1](/packages/illuminatech-config)[orchid/settings

Settings this is key-value storage

1117.3k2](/packages/orchid-settings)

PHPackages © 2026

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