PHPackages                             gacela-project/gacela-env-config-reader - 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. gacela-project/gacela-env-config-reader

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

gacela-project/gacela-env-config-reader
=======================================

Load .env files into Gacela

0.3(1y ago)31.1kMITPHPPHP &gt;=8.0CI failing

Since Nov 3Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/gacela-project/gacela-env-config-reader)[ Packagist](https://packagist.org/packages/gacela-project/gacela-env-config-reader)[ RSS](/packages/gacela-project-gacela-env-config-reader/feed)WikiDiscussions main Synced 1mo ago

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

Gacela EnvConfigReader
======================

[](#gacela-envconfigreader)

Load .env configuration files for your Gacela projects.

```
composer require gacela-project/gacela-env-config-reader
```

Setup
-----

[](#setup)

You can define the reader configuration either in the `Gacela::bootstrap()` or in a `gacela.php` file.

### Option A)

[](#option-a)

Define the configuration in a `gacela.php` file in the root of your project (recommended way):

```
