PHPackages                             cdev/environment-local - 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. cdev/environment-local

ActiveCdev-plugin[Utility &amp; Helpers](/categories/utility)

cdev/environment-local
======================

Local environment plugin for cdev

1.1.0(6y ago)0121[9 issues](https://github.com/jamiesykescreode/cdev-environment-local/issues)MITPHP

Since Oct 30Pushed 6y ago1 watchersCompare

[ Source](https://github.com/jamiesykescreode/cdev-environment-local)[ Packagist](https://packagist.org/packages/cdev/environment-local)[ RSS](/packages/cdev-environment-local/feed)WikiDiscussions 1.x Synced 3d ago

READMEChangelog (4)Dependencies (2)Versions (16)Used By (0)

cdev-environment-local
======================

[](#cdev-environment-local)

The Local environment plugin for cdev

Over the past few months we have had some hiccups with Docker and memory usage etc causing some strange issues. Environments have also been very slow to run lately.

With the last AMPPS update being over a year ago and the latest supported PHP version being 7.1 it's difficult to test certain sites fully as some newer sites are currently using PHP 7.2.

The cdev Local environment plugin aims to help this by using the existing local modules Apache, PHP and MariaDB (a mysql drop in replacement). It aims to improve the workflow however due to the nature of it there are a number of very in depth dependencies required in order to get it to work.

Installing
----------

[](#installing)

Ensure that you are using the most recent version of cdev or at the very least &gt;= 1.1.16.

You can install the plugin with the two commands below:

`cdev plugin:add-repository pear/config vcs https://github.com/FelixAuer/Config.git`

`cdev plugin:install cdev/environment-local`

The first command allows a dependency for cdev local to be installed and the second allows for the actual plugin to be installed.

Dependencies
------------

[](#dependencies)

The plugin ships with an `install.sh` script that should get you up and running with the above. You can run it with the following command:

```
cdev local:setup-dependencies

```

The following dependencies are required in order to get cdev Local to run properly. The plugin is still in early stages at the moment with a number of features absent but the basics of running your dev environment are available (starting, stopping and nuking, and database imports).

Here is a list of the requirements in order to get cdev Local running:

- [cdev](https://github.com/garethmidwood/cdev) &gt;=1.1.16 (allows plugin:add-repository command)
- [Apache](https://app.tettra.co/teams/creodechat/pages/cdev-local-apache)
- [PHP](https://app.tettra.co/teams/creodechat/pages/cdev-local-php)
- [MySQL/MariaDB](https://app.tettra.co/teams/creodechat/pages/cdev-local-mysql)
- [DNSMasq](https://app.tettra.co/teams/creodechat/pages/cdev-local-dnsmasq)
- [PV (Optional)](https://app.tettra.co/teams/creodechat/pages/cdev-local-pv)

Configuration
-------------

[](#configuration)

Once the above dependencies have been installed correctly and the plugin has been installed via the *Installing* section above you can run the cdev configure command inside the directory you are setting up. This should now show a `local` plugin alongside the docker one. You can follow the steps as normal with a few extra options:

- You can now select the version of PHP to use as part of this.
- There is a new subfolder for apache setting which is for websites that have been setup using composer or where the main entrypoint (index.php file) to the application exists inside a subfolder and not directly inside the src folder.

The rest of the process is similar and cdev local will setup a new apache host in the following format `[project_name].dev.com`.

Troubleshooting
---------------

[](#troubleshooting)

Whilst working on this and doing a database import originally I got a `MySQL has gone away` error. In order to fix this you can do the following:

- `nano /usr/local/etc/my.cnf`
- Add `max_allowed_packet=64M` under a \[mysqld\] header

On AMPPS I had this setting set to 256M but 64 seemed to solve it for my particular environment.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 98.8% 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 ~11 days

Recently: every ~1 days

Total

11

Last Release

2272d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8133041?v=4)[Creode](/maintainers/creode)[@creode](https://github.com/creode)

---

Top Contributors

[![jamiesykescreode](https://avatars.githubusercontent.com/u/22323384?v=4)](https://github.com/jamiesykescreode "jamiesykescreode (85 commits)")[![garethmidwood](https://avatars.githubusercontent.com/u/4386083?v=4)](https://github.com/garethmidwood "garethmidwood (1 commits)")

### Embed Badge

![Health badge](/badges/cdev-environment-local/health.svg)

```
[![Health](https://phpackages.com/badges/cdev-environment-local/health.svg)](https://phpackages.com/packages/cdev-environment-local)
```

###  Alternatives

[wnx/laravel-stats

Get insights about your Laravel Project

1.8k1.8M7](/packages/wnx-laravel-stats)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[coenjacobs/mozart

Composes all dependencies as a package inside a WordPress plugin

4723.6M20](/packages/coenjacobs-mozart)[illuminate/session

The Illuminate Session package.

9937.4M753](/packages/illuminate-session)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[laragear/preload

Effortlessly make a Preload script for your Laravel application.

119363.5k](/packages/laragear-preload)

PHPackages © 2026

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