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

ActivePackage

eksprt/laravel-settings
=======================

Eksprt settings module for Laravel projects like SnippetCMS

v1.0.0(1mo ago)111↓75%MITPHPPHP ^8.2CI passing

Since Jul 16Pushed 1mo agoCompare

[ Source](https://github.com/eksprt/laravel-settings)[ Packagist](https://packagist.org/packages/eksprt/laravel-settings)[ RSS](/packages/eksprt-laravel-settings/feed)WikiDiscussions main Synced 1w ago

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

Settings package for Laravel
============================

[](#settings-package-for-laravel)

[![PHP Composer](https://github.com/eksprt/laravel-settings/actions/workflows/php.yml/badge.svg)](https://github.com/eksprt/laravel-settings/actions/workflows/php.yml)[![Latest Version on Packagist](https://camo.githubusercontent.com/93580d7237c8deb87b289648db19e65eaf930a0d64b2e051796cd25eae6011e7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f656b737072742f6c61726176656c2d73657474696e67732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/eksprt/laravel-settings)[![Total Downloads](https://camo.githubusercontent.com/6dfef0ced0e43c1ecd5fd7643df74a0b868a4d9a496349161cdcfbb4d2b176c9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f656b737072742f6c61726176656c2d73657474696e67732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/eksprt/laravel-settings)

This package allows you to save settings in DB &amp; Cache. You can use helper function to get settings value anywhere in a Laravel project like SnippetCMS.

- Database support
- Helper function
- Cache support

Getting Started
---------------

[](#getting-started)

### 1. Install

[](#1-install)

Run the following command:

```
composer require eksprt/laravel-settings
```

### 2. Publish

[](#2-publish)

Publish config file.

```
php artisan vendor:publish --provider="Eksprt\LaravelSettings\SettingsServiceProvider" --tag=settings-config
```

### 3. Preparing the database

[](#3-preparing-the-database)

You need to publish the migration to create the media table:

```
php artisan vendor:publish --provider="Eksprt\LaravelSettings\SettingsServiceProvider" --tag=settings-migration
```

After that, you need to run migrations.

```
php artisan migrate
```

### 4. Configure

[](#4-configure)

You can change the options of your app from `config/laravel-settings.php` file

Usage
-----

[](#usage)

### Helper

[](#helper)

```
setting()->get('promo');
setting()->get('promo', 'default');
setting()->put('promo', 'snippet');
setting()->delete('promo');
```

### Facade

[](#facade)

```
Setting::get('promo');
Setting::get('promo', 'default');
Setting::put('promo', 'snippet');
Setting::delete('promo');
```

Testing
-------

[](#testing)

```
./vendor/bin/phpunit
```

Changelog
---------

[](#changelog)

Please see [Releases](../../releases) for more information what has changed recently.

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

[](#contributing)

Pull requests are more than welcome. You must follow the PSR coding standards.

Security
--------

[](#security)

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

License
-------

[](#license)

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

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance90

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

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

45d ago

### Community

Maintainers

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

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3365.5M359](/packages/psalm-plugin-laravel)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8793.4M27](/packages/yajra-laravel-oci8)[illuminate/queue

The Illuminate Queue package.

20433.5M1.9k](/packages/illuminate-queue)[mike-bronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k161.4k2](/packages/mike-bronner-laravel-model-caching)[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.

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

API Platform support for Laravel

58190.1k22](/packages/api-platform-laravel)

PHPackages © 2026

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