PHPackages                             denis-kisel/lara-dbconfig - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. denis-kisel/lara-dbconfig

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

denis-kisel/lara-dbconfig
=========================

:Extra Configs Stored in DB

01PHP

Since Dec 11Pushed 6y ago1 watchersCompare

[ Source](https://github.com/denis-kisel/lara-dbconfig)[ Packagist](https://packagist.org/packages/denis-kisel/lara-dbconfig)[ RSS](/packages/denis-kisel-lara-dbconfig/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

DBConfig
========

[](#dbconfig)

Storage extra configs in DB. Uses `serialization`.

Demo/Usage
----------

[](#demousage)

```
use DenisKisel\DBConfig\DBConfig;
...

//PUT
DBConfig::put($key, $value); # Value is anyway type(string|array|object|etc..)

//GET
DBConfig::get($key) # null if not exists;
DBConfig::get($key, $default) # $default if not exists;

//Has
DBConfig::has($key) # (true|false);

//Forget
DBConfig::forget($key) # remove by key;

//Icrement/Decrement
DBConfig::increment($key) # Increment +1
DBConfig::increment($key, $amount) # Increment +$amount

DBConfig::decrement($key) # Descrement -1
DBConfig::decrement($key, $amount) # Descrement -$amount
```

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

[](#installation)

Via Composer

```
$ composer require denis-kisel/lara-dbconfig
```

Public config if you need to change table name.

```
$ php artisan vendor:publish --provider="DenisKisel\DBConfig\DBConfigServiceProvider"
```

Install DB Table. By default is `settings` table.

```
$ php artisan dbconfig:install
```

Its all. Enjoy to use!

Extra Commands
--------------

[](#extra-commands)

```
//Show all configs
$ php artisan dbconfig:show

//Show config by key
$ php artisan dbconfig:show --key=conf_key
```

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT)

Contact
-------

[](#contact)

Developer: Denis Kisel

- Email:
- Skype: live:denis.kisel92

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/76b9b00b6d5b5f8de8f20a5e39e9e4a6caef51a637ad8a047787a6442b9278ef?d=identicon)[denis-kisel](/maintainers/denis-kisel)

---

Top Contributors

[![den-is-ua](https://avatars.githubusercontent.com/u/235117855?v=4)](https://github.com/den-is-ua "den-is-ua (5 commits)")

---

Tags

configdbdbconfiglaravelserializationsettings

### Embed Badge

![Health badge](/badges/denis-kisel-lara-dbconfig/health.svg)

```
[![Health](https://phpackages.com/badges/denis-kisel-lara-dbconfig/health.svg)](https://phpackages.com/packages/denis-kisel-lara-dbconfig)
```

###  Alternatives

[mtdowling/jmespath.php

Declaratively specify how to extract elements from a JSON document

2.0k472.8M135](/packages/mtdowling-jmespathphp)[opis/closure

A library that can be used to serialize closures (anonymous functions) and arbitrary data.

2.6k230.0M284](/packages/opis-closure)[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M65](/packages/sabberworm-php-css-parser)[michelf/php-markdown

PHP Markdown

3.5k52.4M345](/packages/michelf-php-markdown)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)

PHPackages © 2026

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