PHPackages                             finagin/laravel-settings - 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. finagin/laravel-settings

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

finagin/laravel-settings
========================

Settings for Laravel 5.4 and up

0.1.0(9y ago)014MITPHPPHP &gt;=7.0

Since May 9Pushed 9y ago1 watchersCompare

[ Source](https://github.com/finagin/laravel-settings)[ Packagist](https://packagist.org/packages/finagin/laravel-settings)[ Docs](https://github.com/finagin/laravel-settings)[ RSS](/packages/finagin-laravel-settings/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (7)Versions (3)Used By (0)

Settings for Laravel 5.4 and up
===============================

[](#settings-for-laravel-54-and-up)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b8cd229a6aff1ebedf05bb1226c2e88bb59c0b1659b1abc1b19f0374ee7e476b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f66696e6167696e2f6c61726176656c2d73657474696e67732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/finagin/laravel-settings)[![StyleCI](https://camo.githubusercontent.com/4d481c83bc91823e2c816ef41d9b0193fafd65faed4486c02561b0f78936739c/68747470733a2f2f7374796c6563692e696f2f7265706f732f39303734303632332f736869656c64)](https://styleci.io/repos/90740623)[![Total Downloads](https://camo.githubusercontent.com/1e25f6ca22785ae21dd34678963c9e13d9c615c3728e70c3c3d3f76fe647e722/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f66696e6167696e2f6c61726176656c2d73657474696e67732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/finagin/laravel-settings)[![](https://camo.githubusercontent.com/7123c32787e013be5a8a13598ad01f562754637ed6141e89b02e85bf16d3e63e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d6173686170652f6170697374617475732e7376673f7374796c653d666c61742d737175617265)](https://github.com/finagin/laravel-settings/blob/master/LICENSE)
[![GitHub stars](https://camo.githubusercontent.com/61fe2cc965a75257b18906fcc6524ab4b70231aa87da44b8f8d70e2af552c092/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f66696e6167696e2f6c61726176656c2d73657474696e67732e7376673f7374796c653d736f6369616c266c6162656c3d53746172)](https://github.com/finagin/laravel-settings)

- [Installation](#installation)
- [Usage](usage)
- [License](license)

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

[](#installation)

This package can be used in Laravel 5.4 or higher. You can install the package via composer:

```
composer require finagin/laravel-settings
```

Now add the service provider in config/app.php file:

```
'providers' => [
    /*
     * Package Service Providers...
     */
    // ...
    Finagin\Settings\SettingsServiceProvider::class,
    // ...
];
```

You must publish the migration with:

```
php artisan vendor:publish --provider="Finagin\Settings\SettingsServiceProvider" --tag="migrations"
```

After the migration has been published you must create the settings-tables by running the migrations:

```
php artisan migrate
```

Also you can publish the config file with:

```
php artisan vendor:publish --provider="Finagin\Settings\SettingsServiceProvider" --tag="config"
```

Usage
-----

[](#usage)

```
$key = 'some_key';
$value = 'some value';
$default = 'default value';

echo Settings::get($key, $default));
// output: default value

Settings::set($key, $value));
echo Settings::get($key, $default));
// output: some value

echo Settings::unset($key));
// output: true
echo Settings::unset($key));
// output: false

echo Settings::get($key, $default));
// output: default value
```

License
-------

[](#license)

The MIT License ([MIT](https://opensource.org/licenses/MIT)). Please see [License File](https://github.com/finagin/laravel-settings/blob/master/LICENSE) for more information.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

3290d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/da006642845e1657076957773452c02aa49bad1d1be5abd3a3be4993414ad68e?d=identicon)[finagin](/maintainers/finagin)

---

Top Contributors

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

---

Tags

laravelSettingsfinagin

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/finagin-laravel-settings/health.svg)

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

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k89.8M1.0k](/packages/spatie-laravel-permission)[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[silber/bouncer

Eloquent roles and abilities.

3.6k4.4M25](/packages/silber-bouncer)[psalm/plugin-laravel

Psalm plugin for Laravel

3274.9M308](/packages/psalm-plugin-laravel)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[ashallendesign/short-url

A Laravel package for creating shortened URLs for your web apps.

1.4k1.9M4](/packages/ashallendesign-short-url)

PHPackages © 2026

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