New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

egough/laravel-settings

Database-backed application and model settings for Laravel.
1,208 4

Larablocks Analysis

egough/laravel-settings works with Laravel 10 to 13 (latest release v1.4.1, Oct 27, 2026).

Promising: maintained and up to date, meets 2 of 4 checks; not yet widely used.

  • Works with Laravel 13, the current version
  • Released in the last 12 months (Oct 27, 2026)
  • 110 downloads a month (needs 10,000)
  • 4 GitHub stars (needs 100)

State

Actively maintained
  • Last stable release: Oct 27, 2026.
  • 7 releases in the last 12 months.
  • First released: Feb 25, 2026.
  • Monthly downloads: 110.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 28, 2026.

Install
composer require egough/laravel-settings
Latest Version:v1.4.1
PHP:^8.2 || ^8.3 || ^8.4
Laravel:10 – 13
License:MIT
Last Updated:Oct 31, 2026
Links: GitHub  ·  Packagist
Maintainer: egough

alt text

Latest Version on Packagist Total Downloads License Tests


Add global and per-model settings for your Laravel application.

Settings are stored in the database, automatically cached for performance, and exposed through a clean, expressive API including a global helper, a facade, Blade directives, and support for dependency injection.

Provides a simple, typed and cacheable way to store dynamic configuration outside of .env and static config files, including per-model settings such as user or team preferences.

View the documentation


Quick Example

// Application setting
settings()->set('site.name', 'My Application');

settings()->get('site.name');


// Model-specific setting
$user->settings()->set('ui.theme', 'dark');

$user->settings()->get('ui.theme');


// Feature flag
if (flag('billing.enabled')) {
    // Feature enabled
}

Adding to your model:

use Egough\LaravelSettings\Traits\HasSettings;

class User extends Authenticatable
{
    use HasSettings;
}

Blade usage:

@hasFlag('billing.enabled')
    <x-billing-panel />
@endhasFlag

<title>@setting('site.name')</title>

Installation

composer require egough/laravel-settings:^1.0

Publish configuration and migrations:

php artisan vendor:publish --tag=settings-config
php artisan vendor:publish --tag=settings-migrations
php artisan vendor:publish --tag=settings-model-migrations
php artisan migrate

Requirements

  • PHP 8.2+
  • Laravel 10, 11, 12, or 13

License

MIT

Alternatives to egough/laravel-settings

cleaniquecoders/laravel-config-backup

Backup and restore Laravel configuration (.env and database settings) as a porta...

4,582 0
sitesource/laravel-polymorphic-settings

Polymorphic, per-model key-value settings for Laravel with opt-in encryption and...

6,095 0
nyoncode/wire-module-settings

Application settings for wire: typed key/value settings with a page to edit them...

1,065 0
kaiserkiwi/model-settings

A simple way to manage settings in your Laravel models.

4,323 2
gaiatools/fulcrum-settings

Advanced feature flags and configuration management system for Laravel with rule...

2,089 3

Version History

Version Released PHP Laravel License
v1.4.1 ^8.2 || ^8.3 || ^8.4 ^10.0 || ^11.0 || ^12.0 || ^13.0 MIT
v1.4.0 ^8.2 || ^8.3 || ^8.4 ^10.0 || ^11.0 || ^12.0 || ^13.0 MIT
v1.3.1 ^8.2 || ^8.3 || ^8.4 ^10.0 || ^11.0 || ^12.0 || ^13.0 MIT
v1.3.0 ^8.2 ^11.0|^12.0 MIT
v1.2.0 ^8.2 ^11.0|^12.0 MIT