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

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

laravel-daddy/swift-settings
============================

easy way to manage and cache settings in laravel app

4.0(1y ago)07MITPHPPHP ^8.1

Since Sep 21Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Youssef-Gerges/swift-settings)[ Packagist](https://packagist.org/packages/laravel-daddy/swift-settings)[ RSS](/packages/laravel-daddy-swift-settings/feed)WikiDiscussions main Synced 1mo ago

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

Swift Settings Package
======================

[](#swift-settings-package)

Crafted with ♥️ by Laravel Daddy

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

[](#installation)

To install the package, run the following command:

```
composer require laravel-daddy/swift-settings
```

Upon installation, the package will automatically publish the necessary migrations and register the **SwiftSettingsServiceProvider**.

Usage
-----

[](#usage)

All settings are automatically cached to enhance the performance of your application. This ensures that accessing settings is efficient and optimized.

You can manage settings using either the facade or the helper method.

### Using the Facade

[](#using-the-facade)

```
use LaravelDaddy\SwiftSettings\Facade\SwiftSettingsFacade;

// Retrieve a setting by its key, with a default value if the key doesn't exist
SwiftSettingsFacade::getSetting('key', 'default_value');

// Set a new value for a specific key
SwiftSettingsFacade::setSetting('key', 'value');
```

### Using the Helper Method

[](#using-the-helper-method)

```
// Retrieve a setting by its key, with a default value if the key doesn't exist
swift_settings()->getSetting('key', 'default_value');

// Set a new value for a specific key
swift_settings()->setSetting('key', 'value');
```

Both approaches allow you to retrieve or update settings efficiently, with all keys being cached for improved performance.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Total

3

Last Release

581d ago

Major Versions

1.0 → 2.02024-09-21

2.0 → 4.02024-10-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f96d0a41ba223ce3dfd17f4de047e6337fdd42733c461f2347fb1b5730d197a?d=identicon)[Youssef Gerges](/maintainers/Youssef%20Gerges)

---

Top Contributors

[![Youssef-Gerges](https://avatars.githubusercontent.com/u/40138152?v=4)](https://github.com/Youssef-Gerges "Youssef-Gerges (9 commits)")

### Embed Badge

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

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

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M158](/packages/orchestra-canvas)[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M213](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M862](/packages/illuminate-pagination)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)

PHPackages © 2026

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