PHPackages                             lefuturiste/config - 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. lefuturiste/config

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

lefuturiste/config
==================

Simple config library for php

0.2(8y ago)0113MITPHP

Since Sep 13Pushed 8y agoCompare

[ Source](https://github.com/lefuturiste/config)[ Packagist](https://packagist.org/packages/lefuturiste/config)[ RSS](/packages/lefuturiste-config/feed)WikiDiscussions master Synced 4w ago

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

config
======

[](#config)

Simple config library for php

---

### Dependecies

[](#dependecies)

- PHP &gt;= 5.3
- vlucas/phpdotenv : lasted version

---

1. Installing
-------------

[](#1-installing)

Easy install via composer. Still no idea what composer is? Inform yourself [here](http://getcomposer.org).

`composer require lefuturiste/config`

---

2. Usage
--------

[](#2-usage)

### Create .env file in

[](#create-env-file-in)

In your base path you must create .env file.

### Config path

[](#config-path)

The first params of config class is path of your .php config files

### Change .env path

[](#change-env-path)

The second params of config class is path of your .env file (just directory, no file).

### Get config array

[](#get-config-array)

```
$configArray = new \lefuturiste\config\Config(dirname(__DIR__) . '/App/config/', dirname(__DIR__));

```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity54

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

Total

2

Last Release

3244d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/237a43763134833e785eaee2c646dc218b63a87a8b0943b585a7c9ce436fd306?d=identicon)[lefuturiste](/maintainers/lefuturiste)

---

Top Contributors

[![lefuturiste](https://avatars.githubusercontent.com/u/20988163?v=4)](https://github.com/lefuturiste "lefuturiste (2 commits)")

### Embed Badge

![Health badge](/badges/lefuturiste-config/health.svg)

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

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.3k37.6k20](/packages/tempest-framework)[azuracast/azuracast

The AzuraCast self-hosted web radio station management suite.

4.0k27.9k](/packages/azuracast-azuracast)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

43811.0k4](/packages/lullabot-drainpipe)[ec-europa/toolkit

Toolkit packaged for Drupal projects based on Robo.

39255.4k37](/packages/ec-europa-toolkit)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[lion/bundle

Lion-framework configuration and initialization package

132.4k5](/packages/lion-bundle)

PHPackages © 2026

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