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

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

zahidhassanshaikot/settings
===========================

This is my package settings

v2.0(1y ago)7203MITPHPPHP ^8.2CI passing

Since May 17Pushed 1y ago1 watchersCompare

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

READMEChangelog (3)Dependencies (13)Versions (5)Used By (0)

This [package](https://packagist.org/packages/zahidhassanshaikot/settings) is build for laravel basic settings management. You can add your custom settings using this [package](https://packagist.org/packages/zahidhassanshaikot/settings).
=============================================================================================================================================================================================================================================

[](#this-package-is-build-for-laravel-basic-settings-management-you-can-add-your-custom-settings-using-this-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ae5c48e23672107cd4e9dca1006e9036acd26dd2de03555d0e656cd56014762c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a6168696468617373616e736861696b6f742f73657474696e67732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/zahidhassanshaikot/settings)[![GitHub Tests Action Status](https://camo.githubusercontent.com/f389615c7337150bf05bd293d4882570bd5316840a34fe23e244b0b195dfef56/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7a6168696468617373616e736861696b6f742f73657474696e67732f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/zahidhassanshaikot/settings/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/9a7d6ebbf1b1a54b79074c1620bbb37e3f451e1b431777ad2d08e14fb8d9d558/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7a6168696468617373616e736861696b6f742f73657474696e67732f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/zahidhassanshaikot/settings/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/116ef2bacdaf41f9a1cfac8cf2cbc23c71f39101a6eee139f0715a7824f66fa2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a6168696468617373616e736861696b6f742f73657474696e67732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/zahidhassanshaikot/settings)![License](https://camo.githubusercontent.com/f294a620cfb43f75f7c4fdac7c3c0db5c57f10978ef43f10258758e2dea4ee88/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f7a6168696468617373616e736861696b6f742f73657474696e67733f7374796c653d666c61742d737175617265)![GitHub issues](https://camo.githubusercontent.com/3320b4f7b52e7477750b67d233e356bac3b65bcdc28bc42f70090b4605e736a1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f7a6168696468617373616e736861696b6f742f73657474696e67733f7374796c653d666c61742d737175617265)![GitHub forks](https://camo.githubusercontent.com/fa5f4414daeb54225fdb52937023d5b3f93af63f6b9696199c19aecb8257b36e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f7a6168696468617373616e736861696b6f742f73657474696e67733f7374796c653d666c61742d737175617265)![GitHub stars](https://camo.githubusercontent.com/9d2d6fbd471296d05dbca5c64889782160299f94a49a80e35e174f8419d7a023/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f7a6168696468617373616e736861696b6f742f73657474696e67733f7374796c653d666c61742d737175617265)![GitHub watchers](https://camo.githubusercontent.com/9329f7c642a63c542ae964d86f120516a34aa17232ee59b5372601f2f4e5db20/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f77617463686572732f7a6168696468617373616e736861696b6f742f73657474696e67733f7374796c653d666c61742d737175617265)![GitHub contributors](https://camo.githubusercontent.com/82caf51e7c15db99039f79375cbf25fac8d1d5c751fa50bf6f1a25687e63c4db/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f7a6168696468617373616e736861696b6f742f73657474696e67733f7374796c653d666c61742d737175617265)![GitHub Sponsors](https://camo.githubusercontent.com/8129366aa52d4f36041ee833b31a4046741157d01273925da189ae5698317de5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73706f6e736f72732f7a6168696468617373616e736861696b6f743f7374796c653d666c61742d737175617265)![GitHub last commit](https://camo.githubusercontent.com/5050d2eee09cde0e1f1f8fa585ea91a24d1bbbc6eff25b1b2a458a6207f00c4a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f7a6168696468617373616e736861696b6f742f73657474696e67733f7374796c653d666c61742d737175617265)![GitHub pull requests](https://camo.githubusercontent.com/67d4ba6760928a3101b2b7036c5cb9eb9b508e1d3da5b3409db8ef7a8f87219e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d70722f7a6168696468617373616e736861696b6f742f73657474696e67733f7374796c653d666c61742d737175617265)![GitHub closed pull requests](https://camo.githubusercontent.com/ab3abf4d3640051e587151718b35fa77ed12cea2ccfd7ed80eaf674f24450ef6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d70722d636c6f7365642f7a6168696468617373616e736861696b6f742f73657474696e67733f7374796c653d666c61742d737175617265)![GitHub language count](https://camo.githubusercontent.com/ef57efcb885d49ac904f21092bc05b77cc35f12a57891558870902f44580e01c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f756e742f7a6168696468617373616e736861696b6f742f73657474696e67733f7374796c653d666c61742d737175617265)![GitHub top language](https://camo.githubusercontent.com/e60e037a8f6a1c779f21021210fbb559b83ece0b9e62d88cf132caafd0d81f48/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f746f702f7a6168696468617373616e736861696b6f742f73657474696e67733f7374796c653d666c61742d737175617265)![GitHub repo size](https://camo.githubusercontent.com/9cb3c6265cced422c7645029c927b15976579cfe554f97fd2a3ba17989226e72/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f7a6168696468617373616e736861696b6f742f73657474696e67733f7374796c653d666c61742d737175617265)![GitHub code size in bytes](https://camo.githubusercontent.com/65b4e0f211b1b1e80d3efda876c06852abb229801ab9e27e2c1793cddf84021c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f7a6168696468617373616e736861696b6f742f73657474696e67733f7374796c653d666c61742d737175617265)![GitHub repo file count](https://camo.githubusercontent.com/cbdc5e56fcea046df17d8b93d3244310dd493d45cd19ee72c545c655acff414f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6469726563746f72792d66696c652d636f756e742f7a6168696468617373616e736861696b6f742f73657474696e67733f7374796c653d666c61742d737175617265)

This [package](https://packagist.org/packages/zahidhassanshaikot/settings) allows you to store settings in a database. The settings are cached to prevent queries to the database. If you update a setting it will be stored in the database and the cache will be flushed. This [package](https://packagist.org/packages/zahidhassanshaikot/settings) is for managing most basic settings in your laravel application like site title, site logo etc. You can add your custom settings using this package.

Support us
----------

[](#support-us)

If you find this project helpful or appreciate my work, please consider buying me a coffee! ☕️

[ ![Buy Me a Coffee](https://camo.githubusercontent.com/30fdb48f54409e08e55e26d7538f45e1c719ab055d22a9e75b3612561919b6bf/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4275792532304d6525323061253230436f666665652d6f72616e67653f7374796c653d666f722d7468652d6261646765266c6f676f3d6275792d6d652d612d636f66666565)](https://bmc.link/zahidhassanshai)Installation
------------

[](#installation)

You can install the package via composer:

```
composer require zahidhassanshaikot/settings
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="settings-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="settings-config"
```

This is the contents of the published config file:

```
return [
    'cache' => [
        'enabled' => true,
    ],
];
```

Usage
-----

[](#usage)

### Facade

[](#facade)

You can use the facade for shorter code. Add the following to your facades:

```
use zahidhassanshaikot\Settings\Facades\Settings;

Settings::all();
Settings::updateOrCreate('site_name', 'laravel-settings');
Settings::updateOrCreateMultiple(['site_name' => 'laravel-settings', 'timezone' => 'UTC']);
Settings::get('site_name');
Settings::delete('site_name');
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Zahid Hassan Shaikot](https://github.com/zahidhassanshaikot)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance45

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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

Total

3

Last Release

428d ago

Major Versions

v1.1 → v2.02025-03-11

PHP version history (2 changes)v1.0PHP ^8.1

v1.1PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/1982b8bd79270ddc57c2ee09bc4b8c025014aa0bbc65ed4ad372957f8cd1b473?d=identicon)[zahidhassanshaikot](/maintainers/zahidhassanshaikot)

---

Top Contributors

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

---

Tags

laravellaravel-packagesettingsweb-settingzahidhassanshaikotlaravelSettingszahidhassanshaikot

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.7k28.9M627](/packages/spatie-laravel-data)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)

PHPackages © 2026

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