PHPackages                             webteractive/expressionengine-env - 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. webteractive/expressionengine-env

ActiveProject

webteractive/expressionengine-env
=================================

ExpressionEngine CMS with PHP dotenv

5.3.2(5y ago)239[19 PRs](https://github.com/webteractive/expressionengine-env/pulls)Apache-2.0PHP

Since Mar 10Pushed 3y ago1 watchersCompare

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

READMEChangelog (8)Dependencies (1)Versions (30)Used By (0)

[ExpressionEngine CMS](https://github.com/ExpressionEngine/ExpressionEngine) with [PHP dotenv](https://github.com/vlucas/phpdotenv)
===================================================================================================================================

[](#expressionengine-cms-with-php-dotenv)

An [ExpressionEngine](https://github.com/ExpressionEngine/ExpressionEngine) boilerplate that supports [PHP dotenv](https://github.com/vlucas/phpdotenv) to improve configuration management under git deployment like [Laravel Forge](https://forge.laravel.com/). [Laravel Mix](https://laravel-mix.com/) is also added to handle asset compilation with complimentary [plugin](https://github.com/webteractive/mix) to handle asset versioning URL. [Tailwind CSS](https://tailwindcss.com/docs/what-is-tailwind/) is also added because it's super awesome and why the hell not.

Requirements
------------

[](#requirements)

1. Composer
2. PHP 7 or newer
3. MySQL 5.6 or newer
4. Node.JS / NPM

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

[](#installation)

1. Download this repository as zip and extract or run `composer create-project webteractive/expressionengine-env your-app`.
2. Run `composer install` to install dependency. This is optional if you use the `composer create-project` way.
3. Import the `migration.sql` file to an empty database i.e. (mysql/mariadb: `mysql -uuser -p theemptydb < path/to/migration.sql`).
4. Rename `.env.stub` to `env` and update the required keys. This is optional if you use the `composer create-project` way.
5. Visit the Admin page to verify installation by going to `/admin.php`. The initial account is `admin` / `secret2019`. **Make sure to update the password!**

What's inside?
--------------

[](#whats-inside)

A quick look at the top-level files and directories you'll see in a *expressionengine-env* project.

```
.
├── assets
├── node_modules
├── public
├── system
├── vendor
├── .env.stub
├── .gitignore
├── AUTHORS.md
├── composer.json
├── composer.lock
├── LICENSE.txt
├── Makefile
├── migration.sql
├── package-lock.json
├── package.json
├── README.md
├── tailwind.js
└── webpack.mix.js

```

The Migration SQL
-----------------

[](#the-migration-sql)

The **`migration.sql`** is an SQL dump file of a freshly installed [ExpressionEngine](https://github.com/ExpressionEngine/ExpressionEngine) with pre-installed [mix plugin](https://github.com/webteractive/mix). Once you imported this file, you won't need to run the ExpressionEngine install process. All you need to do is login to the Admin (go to `/admin.php`), add more configs and ultimately update the super secure password that has been initially provided.

Environment Variables
---------------------

[](#environment-variables)

All config keys that has been assigned to the `env` helper method will not be changed via Admin. This is the key to not mess up your git on modifying configurations.

**`BASE_PATH`** - the path where your ExpressionEngine files are located. This should be the directory where the `system` can be found. This key is **required**.

**`BASE_URL`** - the base URL of your ExpressionEngine instance. This key is **required**.

**`DB_NAME`** - the database name. This key is **required**.

**`DB_USER`** - the database user name. This key is **required**.

**`DB_PASSWORD`** - the database user password. This key is **required**.

**`ENV`** - the current environment of your ExpressionEngine install. The value should be `local` for local development to enable LiveReload. Defaults to `production`.

**`ERROR_VISIBILITY`** - determines who can see PHP/MySQL errors when they occur. Defaults to `1`. [See](https://docs.expressionengine.com/latest/general/system-configuration-overrides.html#debug) for more details on this config key.

Assets Bundling
---------------

[](#assets-bundling)

A `webpack.mix.js` file is also provided to get your started right away on bundling your assets. If you are familiar on how Laravel Mix works then this is no sweat to you! If this is your first encounter with Laravel Mix, visit  for more details on how it works.

The `assets` directory should house all your source assets. But if you like adventures then fire away, put it anywhere you like! Just remember, put your bundles inside the `public` directory. See the sample entry in the `webpack.mix.js` file for more details.

To start bundling, run `npm run dev` to quick compile assets in development mode. To watch for changes, run `npm run watch`. Whenever `npm run watch` is fired, LiveReload is also enabled so your browser should be reloaded once a change in your assets is detected (after compilation). Run `npm run prod` to compile for production.

A `Makefile` is also provided that houses some shortcut commands if your OS (Linux and macOS) supports it. Run `make dev` to start the development right, this will trigger `npm run watch`. Run `make prod` to compile for production.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

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

Recently: every ~126 days

Total

9

Last Release

2122d ago

Major Versions

0.0.5 → 5.2.62019-09-14

5.2.6a → v532.x-dev2020-07-26

### Community

Maintainers

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

---

Top Contributors

[![hadefication](https://avatars.githubusercontent.com/u/6673244?v=4)](https://github.com/hadefication "hadefication (35 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")

---

Tags

ee5eecmsexpressionenginephpdotenvexpressionenginephpdotenveecmseeee5

### Embed Badge

![Health badge](/badges/webteractive-expressionengine-env/health.svg)

```
[![Health](https://phpackages.com/badges/webteractive-expressionengine-env/health.svg)](https://phpackages.com/packages/webteractive-expressionengine-env)
```

###  Alternatives

[composer/installers

A multi-framework Composer library installer

1.4k136.0M6.0k](/packages/composer-installers)[sixlive/dotenv-editor

A tool to edit phpdotenv files

761.5M11](/packages/sixlive-dotenv-editor)[expressodev/laravel-codeigniter-db

Integration layer allowing use of the Laravel database library in CodeIgniter applications

294.0k1](/packages/expressodev-laravel-codeigniter-db)[beebmx/kirby-env

Enable env variables to Kirby

2037.9k2](/packages/beebmx-kirby-env)[aedart/athenaeum

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

245.2k](/packages/aedart-athenaeum)[expressionengine/coilpack

Harness the power of Laravel in ExpressionEngine

283.9k](/packages/expressionengine-coilpack)

PHPackages © 2026

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