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)17MITPHPPHP ^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 2d 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 41% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity6

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

634d 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

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M10](/packages/renatomarinho-laravel-page-speed)[illuminate/pagination

The Illuminate Pagination package.

12234.1M1.0k](/packages/illuminate-pagination)[illuminate/pipeline

The Illuminate Pipeline package.

9349.2M282](/packages/illuminate-pipeline)[illuminate/redis

The Illuminate Redis package.

8314.6M374](/packages/illuminate-redis)[illuminate/cookie

The Illuminate Cookie package.

244.6M136](/packages/illuminate-cookie)

PHPackages © 2026

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