PHPackages                             miladimos/conf - 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. miladimos/conf

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

miladimos/conf
==============

a dynamic key:value json config file

v0.5.9(4y ago)52801MITPHPPHP &gt;=7.4|^8.0

Since Jul 13Pushed 9mo ago2 watchersCompare

[ Source](https://github.com/miladimos/conf)[ Packagist](https://packagist.org/packages/miladimos/conf)[ Docs](https://github.com/miladimos/conf)[ RSS](/packages/miladimos-conf/feed)WikiDiscussions master Synced 6d ago

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

Laravel config package

### Install

[](#install)

1. How to install

```
composer require miladimos/conf

```

2. Open your conf/app.php and add the following to the providers array:

```
Miladimos\Conf\Providers\ConfServiceProvider::class,
```

3. Run the command below to install package:

```
php artisan conf:install

```

helpers:

conf('key') // return value of config

services:

```
use Miladimos\Conf\Services\ConfigJsonService;

ConfigJsonService::all(); // return all stored configs in config.json file
ConfigJsonService::show($id); // receive id of config and return one config
ConfigJsonService::store($date);
ConfigJsonService::update($date, $id);
ConfigJsonService::delete($id); // receive id of config and  delete
```

routes:

```
GET  api/version/conf/all          -> name: conf.all // return all configs
GET  api/version/conf/show/{id}    -> name: conf.show // return single config
POST api/version/conf/update/{id}  -> name: conf.update // update
POST api/version/conf/store        -> name: conf.store // store
GET  api/version/conf/delete/{id}  -> name: conf.delete // delete
```

update and store receive these datas

```
[
    'key' => 'yourkey',
    'value' => 'yourvalue',
    'description' => 'description',
]
```

then give to config.json file read,write permissions or change owner file to current user:

```
sudo chown -R $USER config.json

```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance40

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 63% 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 ~34 days

Recently: every ~52 days

Total

8

Last Release

1529d ago

PHP version history (2 changes)v0.5.0PHP &gt;=7.4

v0.5.7PHP &gt;=7.4|^8.0

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/904bedb5b24b908c13b45a4c75ca1570f2e8bb56bf42ff58b3962c55637e156f?d=identicon)[masihfathi](/maintainers/masihfathi)

---

Top Contributors

[![miladimos](https://avatars.githubusercontent.com/u/31257147?v=4)](https://github.com/miladimos "miladimos (17 commits)")[![masihfathi](https://avatars.githubusercontent.com/u/13271510?v=4)](https://github.com/masihfathi "masihfathi (10 commits)")

---

Tags

confconfiguration-filesconfiguration-managementlaravellaravel-configlaravel-packagelumen-configlumen-packagelaravellaravel-packagelaravel-packageslumen packageslumen supportlaravel-configjson config

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/miladimos-conf/health.svg)

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

###  Alternatives

[realrashid/sweet-alert

Laravel Sweet Alert Is A Package For Laravel Provides An Easy Way To Display Alert Messages Using The SweetAlert2 Library.

1.2k2.9M21](/packages/realrashid-sweet-alert)[irazasyed/larasupport

Adds Laravel Package Support in Lumen.

130669.8k4](/packages/irazasyed-larasupport)[imanghafoori/laravel-nullable

A package to help you write expressive defensive code in a functional manner

151423.7k6](/packages/imanghafoori-laravel-nullable)[paxha/laravel-reportable

This Laravel Eloquent extension provides record according to dates using models.

111.2k](/packages/paxha-laravel-reportable)

PHPackages © 2026

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