PHPackages                             enlitepro/zf2-scaffold - 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. enlitepro/zf2-scaffold

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

enlitepro/zf2-scaffold
======================

v1.1.0(12y ago)1022.5k3[1 issues](https://github.com/enlitepro/zf2-scaffold/issues)3MITPHP

Since Aug 15Pushed 12y ago8 watchersCompare

[ Source](https://github.com/enlitepro/zf2-scaffold)[ Packagist](https://packagist.org/packages/enlitepro/zf2-scaffold)[ RSS](/packages/enlitepro-zf2-scaffold/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (6)Versions (10)Used By (3)

Scaffold for Zend Framework 2 [![Build Status](https://camo.githubusercontent.com/66156bff77d7bcfb745de0f2ce051834a1f5cacea3388c33fe23fccca1181e9d/68747470733a2f2f7472617669732d63692e6f72672f656e6c69746570726f2f7a66322d73636166666f6c642e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/enlitepro/zf2-scaffold)[![Coverage Status](https://camo.githubusercontent.com/ac25e9e4f798a8ceb97aa6bb4e9f6869fb38c96fd6f86dec69e0ca7680b7851e/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f656e6c69746570726f2f7a66322d73636166666f6c642f62616467652e706e673f6272616e63683d6d6173746572)](https://coveralls.io/r/enlitepro/zf2-scaffold?branch=master)
========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#scaffold-for-zend-framework-2-)

INSTALL
=======

[](#install)

The recommended way to install is through composer.

```
{
    "require-dev": {
        "enlitepro/zf2-scaffold": "~1.0.0"
    }
}
```

USAGE
=====

[](#usage)

```
./vendor/bin/scaffold

Available commands:
  controller   Generate controller
  entity       Generate entity
  exception    Generate exceptions (RuntimeException, NotFoundException and other)
  form         Generate form factory and write to service.config.php
  full         Generate all available (without module skeleton)
  module       Generate module skeleton
  options      Generate options, options DI trait, options factory and write to service.config.php
  repository   Generate repository and repository DI trait
  service      Generate service, service DI trait, service factory, service test and write to service.config.php

./vendor/bin/scaffold service [--no-service] [--no-trait] [--no-factory]
    [--no-test] [--only-service] [--only-trait]
    [--only-factory] [--only-test]
               Name of module
                 Name of service
 --no-service          Disable service generation
 --no-trait            Disable service trait generation
 --no-factory          Disable service factory generation
 --no-test             Disable service test generation
 --only-service        Generate only service
 --only-trait          Generate only trait
 --only-factory        Generate only factory
 --only-test           Generate only test

./vendor/bin/scaffold options [--no-options] [--no-trait] [--no-factory]
    [--only-options] [--only-trait] [--only-factory]
               Name of module
                 Options name (will be append Options postfix)
 --no-options          Disable options generation
 --no-trait            Disable trait generation
 --no-factory          Disable factory generation
 --only-options        Generate only options
 --only-trait          Generate only trait
 --only-factory        Generate only factory

```

Creating bare module
====================

[](#creating-bare-module)

If you want create separate module, you can use `--bare` option, which create following folder struct

```
config/
src/
    ModuleName/
        Module.php
test/
phpunit.xml

```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 93.9% 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 ~32 days

Recently: every ~54 days

Total

8

Last Release

4428d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/85fd7e537322d53678e041faf9e0aa89201aa392d40de4824a08edc78c493976?d=identicon)[ftdebugger](/maintainers/ftdebugger)

---

Top Contributors

[![ftdebugger](https://avatars.githubusercontent.com/u/170282?v=4)](https://github.com/ftdebugger "ftdebugger (62 commits)")[![Sysaninster](https://avatars.githubusercontent.com/u/3197583?v=4)](https://github.com/Sysaninster "Sysaninster (4 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/enlitepro-zf2-scaffold/health.svg)

```
[![Health](https://phpackages.com/badges/enlitepro-zf2-scaffold/health.svg)](https://phpackages.com/packages/enlitepro-zf2-scaffold)
```

###  Alternatives

[php-soap/wsdl

Deals with WSDLs

173.5M12](/packages/php-soap-wsdl)[phel-lang/phel-lang

Phel is a functional programming language that compiles to PHP

4743.5k10](/packages/phel-lang-phel-lang)[symfony/ai-bundle

Integration bundle for Symfony AI components

30282.3k6](/packages/symfony-ai-bundle)[aedart/athenaeum

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

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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