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

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

grooveland/settings
===================

Laravel settings handler

v1.0.5(7y ago)082MITPHP

Since Jul 24Pushed 7y ago1 watchersCompare

[ Source](https://github.com/thegrooveland/laravel-settings)[ Packagist](https://packagist.org/packages/grooveland/settings)[ RSS](/packages/grooveland-settings/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (4)Used By (0)

Laravel settings wrapper
========================

[](#laravel-settings-wrapper)

This package allows you to manage settings in a database.

The settings are handled by groups and types of data (string, boolean, integer, double, array)

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

[](#installation)

### Laravel

[](#laravel)

This package can be used in Laravel 5.4 or higher.

You can install via composer:

```
composer require grooveland/settings

```

In Laravel 5.5 the service provider will automatically get registered. In older versions of the framework just add the service provider in config/app.php file:

```
'providers' => [
    // ...
    \Grooveland\Settings\SettingsServiceProvider::class,
];

```

Now, run your migrations:

```
php artisan migrate

```

Usage
-----

[](#usage)

this is a list of basic methods in model

```
/**
 * Add a settings value
 *
 * @param $name
 * @param $val
 * @param string $type | optional
 * @return bool
 */
public static function add($group, $name, $val, $type = Core::DEFAULT_TYPE);

/**
 * Edit a settings by id
 * allow to change name, group, value and type
 *
 * @param $id
 * @param $group
 * @param $name
 * @param $val
 * @param string $type | optional
 * @return bool
 */
public static function edit($id, $group, $name, $val, $type = Core::DEFAULT_TYPE);

/**
 * Get settings by group or by group and name
 * if first is true return only first found setting
 *
 * @param string $group
 * @param string $name
 * @param boolean $first (false)
 * @return Settings | Array
 */
public static function get(string $group, string $name = null, bool $first = false);

/**
 * Get first settings by group or by group and name
 *
 * @param string $group
 * @param string $name
 * @return Settings | Array
 */
public static function first(string $group, string $name = null);

/**
 * Get first settings name
 *
 * @param string $name
 * @return Settings | Array
 */
public static function one(string $name);

/**
 * Check if exists settings by name
 *
 * @param string $name
 * @return boolean
 */
public static function exists($name);

```

This is a CONSTAT with available types

```
\Grooveland\Settings\Core::TYPES

```

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

[](#contributing)

Comming soon.

### Security

[](#security)

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

Credits
-------

[](#credits)

- [Alejandro de tovar](https://github.com/venespana)

License
-------

[](#license)

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

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

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 ~128 days

Total

2

Last Release

2724d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7ecc7c6aba5e7ebf971b6318553b435f728bb17eae8b3f28c5de53bbfc7de7ac?d=identicon)[grooveland](/maintainers/grooveland)

---

Top Contributors

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

---

Tags

frameworklaravelphpsettings

### Embed Badge

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

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

###  Alternatives

[serhioromano/bootstrap-calendar

Bootstrap full view calendar.

3.0k5.9k2](/packages/serhioromano-bootstrap-calendar)[motomedialab/laravel-self-healing-urls

Generate self-healing URLs for models

252.7k](/packages/motomedialab-laravel-self-healing-urls)

PHPackages © 2026

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