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

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

tahirrasheed208/laravel-settings
================================

Store your application settings

3.1.0(1y ago)2970MITPHPPHP ^8.2CI passing

Since Sep 14Pushed 1y ago1 watchersCompare

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

READMEChangelog (10)Dependencies (3)Versions (15)Used By (0)

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

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

[![Latest Version on Packagist](https://camo.githubusercontent.com/229df36b668bcf810610e98804812ffdb97fc425a5fbeb7dc8622f736d5c0b8b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7461686972726173686565643230382f6c61726176656c2d73657474696e67732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tahirrasheed208/laravel-settings)[![Build Status](https://github.com/tahirrasheed208/laravel-settings/actions/workflows/run-tests.yml/badge.svg)](https://github.com/tahirrasheed208/laravel-settings/actions)[![Total Downloads](https://camo.githubusercontent.com/b50d41ca11549675adebb133096485725efeff270336330b9da72f4ca1e87ad1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7461686972726173686565643230382f6c61726176656c2d73657474696e67732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tahirrasheed208/laravel-settings)

This package allows you to save settings in DB &amp; Cache. You can use helper function to get settings value anywhere within laravel.

- Database support
- Helper function
- Cache support

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

[](#getting-started)

### 1. Install

[](#1-install)

Run the following command:

```
composer require tahirrasheed208/laravel-settings
```

### 2. Publish

[](#2-publish)

Publish config file.

```
php artisan vendor:publish --provider="TahirRasheed\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="TahirRasheed\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/settings.php` file

Usage
-----

[](#usage)

### Helper

[](#helper)

```
setting()->get('foo');
setting()->get('foo', 'default');
setting()->put('foo', 'bar');
setting()->delete('foo');
```

### Facade

[](#facade)

```
Setting::get('foo');
Setting::get('foo', 'default');
Setting::put('foo', 'bar');
Setting::delete('foo');
```

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

38

—

LowBetter than 85% of packages

Maintenance44

Moderate activity, may be stable

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

Established project with proven stability

 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

Every ~69 days

Recently: every ~215 days

Total

14

Last Release

446d ago

Major Versions

1.3.1 → 2.0.02023-02-19

2.0.0 → 3.0.02024-06-10

PHP version history (4 changes)1.0.0PHP ^7.4|^8.0

2.0.0PHP ^8.0

3.0.0PHP ^8.1

3.0.1PHP ^8.2

### Community

Maintainers

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

---

Top Contributors

[![tahirrasheed208](https://avatars.githubusercontent.com/u/48022959?v=4)](https://github.com/tahirrasheed208 "tahirrasheed208 (36 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  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)[orchestra/canvas

Code Generators for Laravel Applications and Packages

20917.2M158](/packages/orchestra-canvas)[efureev/laravel-trees

Multi-Tree structures for Laravel

14253.3k4](/packages/efureev-laravel-trees)[illuminatech/balance

Provides support for Balance accounting system based on debit and credit principle

16137.4k](/packages/illuminatech-balance)[zonneplan/laravel-module-loader

Module loader for Laravel

24118.4k](/packages/zonneplan-laravel-module-loader)[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)
