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

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

simpl/config
============

Combines the simplicity of `.env` files with the flexibility of defining arrays of config values.

2.0.0(2y ago)0103MITPHPPHP ^7.4 || ^8.0 || ^8.1 || ^8.2 || ^8.3

Since Oct 12Pushed 2y ago1 watchersCompare

[ Source](https://github.com/simpl-php/config)[ Packagist](https://packagist.org/packages/simpl/config)[ Docs](https://github.com/simple-php/config)[ RSS](/packages/simpl-config/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (5)Versions (10)Used By (0)

Simple/Config
=============

[](#simpleconfig)

Simple configuration provider based on [PHP dotenv](https://github.com/vlucas/phpdotenv)

[![PHP CI](https://github.com/simpl-php/config/actions/workflows/php.yml/badge.svg?branch=2.x)](https://github.com/simpl-php/config/actions/workflows/php.yml)

Combines the simplicity of `.env` files with the flexibility of defining arrays of config values.

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

[](#installation)

```
composer require simpl/config
```

Basic Usage
-----------

[](#basic-usage)

```
