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

ActiveLibrary

farzai/app-settings
===================

PHP App settings

1.0.0(2y ago)03[2 PRs](https://github.com/farzai/app-settings-php/pulls)MITPHPPHP ^8.0

Since May 22Pushed 2y agoCompare

[ Source](https://github.com/farzai/app-settings-php)[ Packagist](https://packagist.org/packages/farzai/app-settings)[ Docs](https://github.com/farzai/app-settings-php)[ GitHub Sponsors](https://github.com/parsilver)[ RSS](/packages/farzai-app-settings/feed)WikiDiscussions main Synced 1mo ago

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

PHP App setting
===============

[](#php-app-setting)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ecf2dcf746c779babe446cc0acd542bd730e663dd45dd2d0ce413434759aae7a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6661727a61692f6170702d73657474696e67732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/farzai/app-settings-php)[![Tests](https://camo.githubusercontent.com/65a20a82cf412c7681df7d249ef5ea96c05ab258c1e2cc6c87fedaf0336ce84a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6661727a61692f6170702d73657474696e67732d7068702f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/farzai/app-settings-php/actions/workflows/run-tests.yml)[![Total Downloads](https://camo.githubusercontent.com/f537f11522fb8e82fc9453e51a7696feb403bbacf6d21e5f29c1f64f763e3147/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6661727a61692f6170702d73657474696e67732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/farzai/app-settings-php)

This open-source library provides a powerful and flexible way to manage application settings or configurations. It is designed with the principle of simplicity and adaptability, allowing developers to quickly set up and manage configurations in any PHP project.

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

[](#installation)

You can install the package via composer:

```
composer require farzai/app-settings
```

Usage
-----

[](#usage)

```
use Farzai\AppSettings\Setting;
use Farzai\AppSettings\Storage\FileStorage;

$setting = new Setting();

// Set a value
$setting->set('key', 'value');

// Get a value
$setting->get('key'); // value
```

Default storage is in temporary folder You may change the storage driver like this

```
// YourCustomStorageDriver implement \Farzai\AppSettings\Contracts\StorageRepositoryInterface::class
$setting = new Setting(new YourCustomStorageDriver());

// Or
$setting->setStorage(new YourCustomStorageDriver());
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.

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

[](#security-vulnerabilities)

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

Credits
-------

[](#credits)

- [parsilver](https://github.com/parsilver)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

1093d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4928451?v=4)[parsilver](/maintainers/parsilver)[@parsilver](https://github.com/parsilver)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")[![parsilver](https://avatars.githubusercontent.com/u/4928451?v=4)](https://github.com/parsilver "parsilver (5 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (3 commits)")

---

Tags

app settingsfarzai

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[qcod/laravel-app-settings

A package with UI to store and manage all the settings for your application

34197.3k](/packages/qcod-laravel-app-settings)

PHPackages © 2026

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