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. kcdev/laravel-setting

ActiveLibrary

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 6d 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 22% 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

2207d 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

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[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)
