PHPackages                             thomasleconte/laminas-gen - 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. thomasleconte/laminas-gen

ActiveLibrary[Framework](/categories/framework)

thomasleconte/laminas-gen
=========================

Package for generate modules / controllers / forms with Laminas Framework.

0.0.3(4y ago)514MITPHP

Since Dec 2Pushed 3y ago3 watchersCompare

[ Source](https://github.com/ThomasLeconte/laminas-gen)[ Packagist](https://packagist.org/packages/thomasleconte/laminas-gen)[ RSS](/packages/thomasleconte-laminas-gen/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)DependenciesVersions (5)Used By (0)

LaminasGen
==========

[](#laminasgen)

Do you know Symfony's generating commands ? It's the same, for **Laminas Framework** :)

install it
----------

[](#install-it)

Just use `composer require thomasleconte/laminas-gen` !

Config it
---------

[](#config-it)

You need to provide this script in your `composer.json` file for make this lib able to be used.

```
    "scripts": {
        ...
        "laminas-gen": [
        "LaminasGen\\Handler::handle"
        ],
        ...
    }
```

Use it
------

[](#use-it)

### Module generation

[](#module-generation)

`composer laminas-gen module ` (By default, this will generate an associated controller for be able to use your module fast as possible. But you can disable it using an optional argument : `without-extra`. So you can use command like that `composer laminas-gen module  without-extra`)

### Controller generation

[](#controller-generation)

`composer laminas-gen controller  ` (This will generate all associated CRUD views for again, use your controller fast as possible. And you cant disable it ... For the moment 🥱)

### Entity generation

[](#entity-generation)

`composer laminas-gen entity  `. You will have to type each properties of your entity. `yourEntityName.php` and `yourEntityNameTable.php` files will be generated, with default getters and setters.

### Undo

[](#undo)

`composer laminas-gen undo` (This will undo all last creations or modifications done by LaminasGen)
`composer laminas-gen undo-all` (This will undo all creations or modification done since you use it)

Details
-------

[](#details)

When you will have installed this package, you will be able to edit templates in `src/Generators/templates/` folder. But keep in mind that you will have limited possibilites, due to number of variables understood by my script. So you can edit the script for make my script understanding **your** variables :)

Debug it
--------

[](#debug-it)

1 - Run autoload command before work on project : `composer dump-autoload -o`2 - Good luck dude.

### Reminder

[](#reminder)

If you want to use package during debug, add these lines on your test project :

```
    "repositories": [
        {
            "type": "path",
            "url": "absolute/or/relative/path/to/laminas-gen/folder"
        }
    ]
```

Then, just install it with : `composer require thomasleconte/laminas-gen @dev`. Take care about `@dev`, composer uses this to pickup the source code and symlink it to your new package.

###  Health Score

22

—

LowBetter than 23% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.4% 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 ~40 days

Total

3

Last Release

1539d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/898fa8e6baa646af7c62bb81f4f39109d31365d1931290c474ee78c3a2dd3ab6?d=identicon)[ThomasLeconte](/maintainers/ThomasLeconte)

---

Top Contributors

[![ThomasLeconte](https://avatars.githubusercontent.com/u/55429863?v=4)](https://github.com/ThomasLeconte "ThomasLeconte (27 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

code-generatorgeneratorgenerator-templatelaminasphp

### Embed Badge

![Health badge](/badges/thomasleconte-laminas-gen/health.svg)

```
[![Health](https://phpackages.com/badges/thomasleconte-laminas-gen/health.svg)](https://phpackages.com/packages/thomasleconte-laminas-gen)
```

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M190](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M255](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M591](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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