PHPackages                             sage-grids/laravel-site-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. sage-grids/laravel-site-settings

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

sage-grids/laravel-site-settings
================================

Reusable site settings and brand settings for Laravel applications using Spatie Laravel Settings

v0.0.1(3mo ago)062↓66.7%MITPHPPHP ^8.2

Since Feb 16Pushed 3mo agoCompare

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

READMEChangelogDependencies (4)Versions (2)Used By (0)

Laravel Site Settings
=====================

[](#laravel-site-settings)

Reusable site settings and brand settings for Laravel applications, powered by [spatie/laravel-settings](https://github.com/spatie/laravel-settings).

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

[](#installation)

```
composer require sage-grids/laravel-site-settings
```

The service provider is auto-discovered by Laravel.

Publish &amp; Run Migrations
----------------------------

[](#publish--run-migrations)

```
php artisan vendor:publish --tag=site-settings-settings
php artisan migrate
```

Settings Classes
----------------

[](#settings-classes)

### SiteSettings (group: `site`)

[](#sitesettings-group-site)

General site identity, footer, and analytics settings:

- **Identity**: `site_name`, `site_description`, `site_logo`, `site_logo_dark`, `site_favicon`, `support_email`, `maintenance_mode`, `default_theme`, `default_landing_page`
- **Footer**: `company_name`, `company_address`, `facebook_url`, `twitter_url`, `linkedin_url`, `instagram_url`, `youtube_url`, `github_url`, `tiktok_url`, `privacy_policy_url`, `terms_of_service_url`
- **Analytics**: `google_analytics_id`, `facebook_pixel_id`, `google_tag_manager_id`

### BrandSettings (group: `brand`)

[](#brandsettings-group-brand)

Brand identity and voice settings:

- `brand_name` (string)
- `tagline` (string)
- `target_audience` (array of one-line descriptions)
- `value_proposition` (string)
- `elevator_pitch` (string)
- `color_palette` (array, e.g. `['primary' => '#000', 'secondary' => '#fff']`)
- `typography` (array, e.g. `['heading' => 'Playfair Display', 'body' => 'Inter']`)

Usage
-----

[](#usage)

```
use SageGrids\SiteSettings\Settings\SiteSettings;
use SageGrids\SiteSettings\Settings\BrandSettings;

// Read
$siteName = app(SiteSettings::class)->site_name;
$brandName = app(BrandSettings::class)->brand_name;

// Write
$settings = app(SiteSettings::class);
$settings->site_name = 'My Site';
$settings->save();
```

Migrating from GeneralSettings
------------------------------

[](#migrating-from-generalsettings)

If you previously used `App\Settings\GeneralSettings` with the `general` group, create a one-time migration in your app that copies `general.*` values to `site.*` in the `settings` table, then remove the old `general.*` keys. See `database/settings/2026_02_16_000000_migrate_general_to_site_settings.php` in the host app for an example.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance82

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

91d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

spatielaravelSettingssite-settingsbrand-settings

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sage-grids-laravel-site-settings/health.svg)

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

###  Alternatives

[spatie/laravel-analytics

A Laravel package to retrieve Google Analytics data.

3.2k5.7M57](/packages/spatie-laravel-analytics)[akaunting/laravel-setting

Persistent settings package for Laravel

495805.1k7](/packages/akaunting-laravel-setting)

PHPackages © 2026

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