PHPackages                             druidfi/omen - 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. druidfi/omen

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

druidfi/omen
============

0.9.1(1mo ago)5164.8k—3.8%[2 issues](https://github.com/druidfi/omen/issues)MITPHPPHP ^8.1CI passing

Since Jan 23Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/druidfi/omen)[ Packagist](https://packagist.org/packages/druidfi/omen)[ RSS](/packages/druidfi-omen/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (27)Used By (0)

druidfi/omen
============

[](#druidfiomen)

[![Tests](https://github.com/druidfi/omen/workflows/Tests/badge.svg)](https://github.com/druidfi/omen/workflows/Tests/badge.svg)

Drupal ENV detector. Detects env related configuration and sets them for you. Helps with moving sites from environment to another. Aims also to generalize your env configuration.

Also sets configuration per environment type. e.g. for development or production. Everything can still be overridden in your project.

**You should just focus on your project specific configuration.**

How to use
----------

[](#how-to-use)

Require omen in your composer.json:

```
composer require druidfi/omen
```

And then use this as your `sites/default/settings.php`:

```
