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

ActiveLibrary

cwsps154/laravel-settings
=========================

Package that help for creating settings in your Laravel project

0.0.5(2y ago)019MITBladePHP ^7.4|^8.0|^8.1|^8.2

Since Apr 16Pushed 2y ago1 watchersCompare

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

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

Laravel Settings
================

[](#laravel-settings)

[![GitHub issues](https://camo.githubusercontent.com/0477e9a973ac71eb0f7bac5785879efac86ecd1f1ee1730cbfde1237eca34e95/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f43575350533135342f6c61726176656c2d73657474696e6773)](https://github.com/CWSPS154/laravel-settings/issues)[![GitHub stars](https://camo.githubusercontent.com/526275bc259730835f4613e15d64958b3744812e4bddd6d2c2c7c4eeef5b768c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f43575350533135342f6c61726176656c2d73657474696e6773)](https://github.com/CWSPS154/laravel-settings/stargazers)[![GitHub license](https://camo.githubusercontent.com/cfe6d85a517aa6a01fe353a9e8247c9771c41051a7da2ef28c135dc1b8a5a93d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f43575350533135342f6c61726176656c2d73657474696e6773)](https://github.com/CWSPS154/laravel-settings)

Help to build ui elements with bootstrap using laravel components

Installation
============

[](#installation)

Using Composer

```
composer require cwsps154/laravel-settings
```

### To publishing the package files

[](#to-publishing-the-package-files)

```
php artisan vendor:publish
```

You can use tag also

```
 php artisan vendor:publish --tag=config --tag=components --tag=views --tag=migrations
```

Usage
=====

[](#usage)

Use this model `CWSPS154\Settings\Models\Setting` in the `AppServiceProvider` class and add below code in the boot method on you project.

```
    public function boot()
    {
        if (!app()->runningInConsole()) {
            $settings = cache()->remember(
                'settings',
                3600,
                fn() => Setting::all()->keyBy('key')
            );
            View::share('settings', $settings);
        }
    }
```

Then you can use the settings with this code in anywhere in the blade pages

```
$settings['your-key-name']->value ?? $settings['your-key-name']->default
```

###  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

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

Every ~26 days

Total

5

Last Release

1016d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1404be26270bb4e6e4eb885bb6035a99f1ed0ccc8fdb43be2a969aa7c32117b3?d=identicon)[CWSPS154](/maintainers/CWSPS154)

---

Top Contributors

[![CWSPS154](https://avatars.githubusercontent.com/u/94110956?v=4)](https://github.com/CWSPS154 "CWSPS154 (6 commits)")

### Embed Badge

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

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

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)[namu/wirechat

A Laravel Livewire messaging app for teams with private chats and group conversations.

54324.5k](/packages/namu-wirechat)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)

PHPackages © 2026

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