PHPackages                             kcdev/laravel-setting - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. kcdev/laravel-setting

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

kcdev/laravel-setting
=====================

A simple settings manager for laravel

v1.0.0(6y ago)03MITPHPPHP ^7.2

Since May 1Pushed 6y ago1 watchersCompare

[ Source](https://github.com/amirmarmul/laravel-setting)[ Packagist](https://packagist.org/packages/kcdev/laravel-setting)[ Docs](https://github.com/amirmarmul/laravel-setting)[ RSS](/packages/kcdev-laravel-setting/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Laravel Setting
===============

[](#laravel-setting)

A simple settings manager for laravel

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

[](#installation)

You can install the package via composer:

```
composer require kcdev/laravel-setting
```

You need to publish and run the migration:

```
php artisan vendor:publish --provider="Kcdev\Setting\SettingServiceProvider"
php artisan migrate
```

Usage
-----

[](#usage)

You can set some key using Facade:

```
use Setting;

// Get setting
Setting::get('someKey');

// Get setting, with a default fallback value if the key doesn't exist
Setting::get('yourKey', 'Default value');

// Set setting
Setting::set('yourKey', 'yourValue');

// Remove setting
Setting::remove('yourKey');

// Check the setting exists
Setting::exists('yourKey');
```

### Console

[](#console)

It is also possible to set setting within the console:

```
php artisan option:set {yourKey} {yourValue}
```

### Security

[](#security)

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

Credits
-------

[](#credits)

- [Amir Marmul](https://github.com/amirmarmul)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Unknown

Total

1

Last Release

2253d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16517846?v=4)[Amir Marmul](/maintainers/amirmarmul)[@amirmarmul](https://github.com/amirmarmul)

---

Top Contributors

[![amirmarmul](https://avatars.githubusercontent.com/u/16517846?v=4)](https://github.com/amirmarmul "amirmarmul (2 commits)")

---

Tags

Laravel-Alertkcdev

### Embed Badge

![Health badge](/badges/kcdev-laravel-setting/health.svg)

```
[![Health](https://phpackages.com/badges/kcdev-laravel-setting/health.svg)](https://phpackages.com/packages/kcdev-laravel-setting)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

198321.1k](/packages/fumeapp-modeltyper)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)[wearepixel/laravel-cart

A cart implementation for Laravel

1374.8k](/packages/wearepixel-laravel-cart)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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