PHPackages                             zfcampus/zf-development-mode - 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. [Framework](/categories/framework)
4. /
5. zfcampus/zf-development-mode

Abandoned → [laminas/laminas-development-mode](/?search=laminas%2Flaminas-development-mode)ArchivedLibrary[Framework](/categories/framework)

zfcampus/zf-development-mode
============================

Zend Framework development mode script

3.2.0(8y ago)433.1M—8.1%24[4 issues](https://github.com/zfcampus/zf-development-mode/issues)[1 PRs](https://github.com/zfcampus/zf-development-mode/pulls)20BSD-3-ClausePHPPHP ^5.6 || ^7.0

Since Dec 22Pushed 6y ago6 watchersCompare

[ Source](https://github.com/zfcampus/zf-development-mode)[ Packagist](https://packagist.org/packages/zfcampus/zf-development-mode)[ RSS](/packages/zfcampus-zf-development-mode/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (3)Versions (18)Used By (20)

zf-development-mode
===================

[](#zf-development-mode)

> ## Repository abandoned 2019-12-31
>
> [](#repository-abandoned-2019-12-31)
>
> This repository has moved to [laminas/laminas-development-mode](https://github.com/laminas/laminas-development-mode).

[![Build Status](https://camo.githubusercontent.com/bae1c378d69d666a7c4fa564f1c1503b8fb31d5c32590671c8e88a38d53d527d/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f7a6663616d7075732f7a662d646576656c6f706d656e742d6d6f64652e7376673f6272616e63683d6d6173746572)](https://secure.travis-ci.org/zfcampus/zf-development-mode)[![Coverage Status](https://camo.githubusercontent.com/2082489570879fc742f6d524e9a692c0f51242924ac2f5006d4c25aeab40a759/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7a6663616d7075732f7a662d646576656c6f706d656e742d6d6f64652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/zfcampus/zf-development-mode?branch=master)[![Total Downloads](https://camo.githubusercontent.com/093e33eb5bd0a56bfa119eef4779c9a6a0601dbbcb3e8f7011070daf7b8cd22a/68747470733a2f2f706f7365722e707567782e6f72672f7a6663616d7075732f7a662d646576656c6f706d656e742d6d6f64652f646f776e6c6f616473)](https://packagist.org/packages/zfcampus/zf-development-mode)

This package provides a script to allow you to enable and disable development mode for [zend-mvc](https://docs.zendframework.com/zend-mvc) (both versions 2 and 3) and [Expressive](https://docs.zendframework.com/zend-expressive)applications. The script allows you to specify configuration and modules that should only be enabled when in development, and not when in production.

Note to v2 users
----------------

[](#note-to-v2-users)

If you were using a v2 version of this package previously, invocation has changed. Previously, you would invoke it via the MVC CLI bootstrap:

```
$ php public/index.php development enable  # enable development mode
$ php public/index.php development disable # disable development mode
```

v3 releases now install this as a vendor binary, with no dependencies on other components:

```
$ ./vendor/bin/zf-development-mode enable  # enable development mode
$ ./vendor/bin/zf-development-mode disable # disable development mode
```

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

[](#installation)

Install this package using Composer:

```
$ composer require zfcampus/zf-development-mode
```

Once installed, you will need to copy a base development configuration into your application; this configuration will allow you to override modules and bootstrap configuration:

```
$ cp vendor/zfcampus/zf-development-mode/development.config.php.dist config/
```

Optionally, if you want to also have development-specific application configuration, you can copy another base configuration into your configuration autoload directory:

```
$ cp vendor/zfcampus/zf-development-mode/development.local.php.dist config/autoload/
```

In order for the bootstrap development configuration to run, you may need to update your application bootstrap. Look for the following lines (or similar) in `public/index.php`:

```
// Run the application!
Zend\Mvc\Application::init(require 'config/application.config.php')->run();
```

Replace the above with the following:

```
// Config
$appConfig = include 'config/application.config.php';
if (file_exists('config/development.config.php')) {
    $appConfig = Zend\Stdlib\ArrayUtils::merge($appConfig, include 'config/development.config.php');
}

// Run the application!
Zend\Mvc\Application::init($appConfig)->run();
```

To enable development mode
--------------------------

[](#to-enable-development-mode)

```
$ cd path/to/project
$ ./vendor/bin/zf-development-mode enable
```

Note: enabling development mode will also clear your module configuation cache, to allow safely updating dependencies and ensuring any new configuration is picked up by your application.

To disable development mode
===========================

[](#to-disable-development-mode)

```
$ cd path/to/project
$ ./vendor/bin/zf-development-mode disable
```

**Note:** Don't run development mode on your production server!

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity54

Moderate usage in the ecosystem

Community37

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 70% 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 ~99 days

Recently: every ~245 days

Total

17

Last Release

2933d ago

Major Versions

1.1 → 2.02014-02-10

0.9.1 → 2.0.12014-05-06

2.1.2 → 3.0.02016-06-22

PHP version history (4 changes)1.0PHP &gt;=5.3.3

0.9.0PHP &gt;=5.3.23

2.1.0PHP &gt;=5.5

3.0.0PHP ^5.6 || ^7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/296074?v=4)[Zend Framework](/maintainers/zendframework)[@zendframework](https://github.com/zendframework)

---

Top Contributors

[![weierophinney](https://avatars.githubusercontent.com/u/25943?v=4)](https://github.com/weierophinney "weierophinney (126 commits)")[![akrabat](https://avatars.githubusercontent.com/u/33135?v=4)](https://github.com/akrabat "akrabat (18 commits)")[![michalbundyra](https://avatars.githubusercontent.com/u/7423207?v=4)](https://github.com/michalbundyra "michalbundyra (16 commits)")[![MichaelGooden](https://avatars.githubusercontent.com/u/1275012?v=4)](https://github.com/MichaelGooden "MichaelGooden (4 commits)")[![mtymek](https://avatars.githubusercontent.com/u/777893?v=4)](https://github.com/mtymek "mtymek (3 commits)")[![bmiklautz](https://avatars.githubusercontent.com/u/195793?v=4)](https://github.com/bmiklautz "bmiklautz (2 commits)")[![ThaDafinser](https://avatars.githubusercontent.com/u/533017?v=4)](https://github.com/ThaDafinser "ThaDafinser (2 commits)")[![samsonasik](https://avatars.githubusercontent.com/u/459648?v=4)](https://github.com/samsonasik "samsonasik (1 commits)")[![sasezaki](https://avatars.githubusercontent.com/u/42755?v=4)](https://github.com/sasezaki "sasezaki (1 commits)")[![YDyachenko](https://avatars.githubusercontent.com/u/2188752?v=4)](https://github.com/YDyachenko "YDyachenko (1 commits)")[![baghayi](https://avatars.githubusercontent.com/u/937667?v=4)](https://github.com/baghayi "baghayi (1 commits)")[![localheinz](https://avatars.githubusercontent.com/u/605483?v=4)](https://github.com/localheinz "localheinz (1 commits)")[![martinezdelariva](https://avatars.githubusercontent.com/u/1567749?v=4)](https://github.com/martinezdelariva "martinezdelariva (1 commits)")[![nuxwin](https://avatars.githubusercontent.com/u/125594?v=4)](https://github.com/nuxwin "nuxwin (1 commits)")[![ojhaujjwal](https://avatars.githubusercontent.com/u/4995501?v=4)](https://github.com/ojhaujjwal "ojhaujjwal (1 commits)")[![PowerKiKi](https://avatars.githubusercontent.com/u/72603?v=4)](https://github.com/PowerKiKi "PowerKiKi (1 commits)")

---

Tags

frameworkZendFrameworkzf

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zfcampus-zf-development-mode/health.svg)

```
[![Health](https://phpackages.com/badges/zfcampus-zf-development-mode/health.svg)](https://phpackages.com/packages/zfcampus-zf-development-mode)
```

PHPackages © 2026

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