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

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

ubitcorp/laravel-settings
=========================

It provides a settings model that can be used with trait on any model for Laravel project

v1.2(6y ago)554MITPHPPHP ~7.1

Since Apr 1Pushed 6y ago3 watchersCompare

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

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

[![Latest Stable Version](https://camo.githubusercontent.com/23accc710e1812d48501c544f0220720837799f55ce267b534ab9032753ef6fe/68747470733a2f2f706f7365722e707567782e6f72672f75626974636f72702f6c61726176656c2d73657474696e67732f762f737461626c65)](https://packagist.org/packages/ubitcorp/laravel-settings)[![Total Downloads](https://camo.githubusercontent.com/d6f77fbb3b91f86e75595e58e296a45b42af7a6929f646ca2efaae14250c7a05/68747470733a2f2f706f7365722e707567782e6f72672f75626974636f72702f6c61726176656c2d73657474696e67732f646f776e6c6f616473)](https://packagist.org/packages/ubitcorp/laravel-settings)[![License](https://camo.githubusercontent.com/001db214f59e47a64cb8b03da86d3241a2232ce8353ef4c0b9ff3c89ac704b90/68747470733a2f2f706f7365722e707567782e6f72672f75626974636f72702f6c61726176656c2d73657474696e67732f6c6963656e7365)](https://packagist.org/packages/ubitcorp/laravel-settings)[![Monthly Downloads](https://camo.githubusercontent.com/c63daa159032ca39cdf343bd35369ae541ec63f51e5eff6e2f0803c3aebdd50f/68747470733a2f2f706f7365722e707567782e6f72672f75626974636f72702f6c61726176656c2d73657474696e67732f642f6d6f6e74686c79)](https://packagist.org/packages/ubitcorp/laravel-settings)[![Daily Downloads](https://camo.githubusercontent.com/9dd390ae2153e14cff1858131b0f9aee2b6aedcab6e89958f03e6cc9e4c8f7cb/68747470733a2f2f706f7365722e707567782e6f72672f75626974636f72702f6c61726176656c2d73657474696e67732f642f6461696c79)](https://packagist.org/packages/ubitcorp/laravel-settings)

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

[](#laravel-settings)

It provides a settings model that can be used with trait on any model for Laravel project

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

[](#installation)

Via Composer

```
$ composer require ubitcorp/laravel-settings
```

If you want to use different table name instead of **settings**

```
$ php artisan vendor:publish --provider="ubitcorp\Settings\ServiceProvider"
```

Then you can change config/settings.php configuration file for table name. Then you should run:

```
$ php artisan migrate
```

Usage
=====

[](#usage)

This package provides the **hasSettings** trait that can be included any model. After that the functions below can be used:

```
settings()
addSetting($keyword, $value)
addSettings($settings)
removeSetting($keyword)
removeSettings($keywords)
syncSettings($settings)
valueofSetting($keyword)
valueOfSettingAsArray($keyword)

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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 ~142 days

Total

3

Last Release

2313d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/493c62f2b3434460245c5c611501a5f1a2440303646939bab97af88baffe68a9?d=identicon)[ubit](/maintainers/ubit)

---

Top Contributors

[![hcivelek](https://avatars.githubusercontent.com/u/371721?v=4)](https://github.com/hcivelek "hcivelek (4 commits)")[![ufukozcantr](https://avatars.githubusercontent.com/u/14158107?v=4)](https://github.com/ufukozcantr "ufukozcantr (1 commits)")

---

Tags

Settingslaravel-settingshasan civelekubitcorp

### Embed Badge

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

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

###  Alternatives

[edvinaskrucas/settings

Persistent settings package for Laravel framework.

22483.1k1](/packages/edvinaskrucas-settings)[sajadsdi/laravel-setting-pro

Easy settings management for laravel framework

1315.9k](/packages/sajadsdi-laravel-setting-pro)

PHPackages © 2026

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