PHPackages                             maxmode/generator - 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. [CLI &amp; Console](/categories/cli)
4. /
5. maxmode/generator

ActiveSymfony-bundle[CLI &amp; Console](/categories/cli)

maxmode/generator
=================

Command line tools to generate code for sonata-admin bundle

011PHP

Since Oct 28Pushed 12y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

About
-----

[](#about)

This is a bundle for Symfony 2.

It provides command line tool to generate CRUD code, used by sonata-admin bundle.

The command generates code based on Doctrine entities metadata.

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

[](#installation)

1. Add dependency to your project via composer:

```
    php composer.phar require "maxmode/generator":"dev-master"

```

OR add following string to your composer.json manually

```
    "maxmode/generator": "dev-master"

```

1. Register bundle in AppKernel.php:

```
    $bundles = array(
        ...
        new Maxmode\GeneratorBundle\MaxmodeGeneratorBundle(),
    );

```

Usage
-----

[](#usage)

1. Create doctrine entity manually or with entity generator:

```
    php app/console doctrine:generate:entity

```

1. Run **comand to generate CRUD** for it:

```
    php app/console maxmode:generate:sonata-admin

```

Stability
---------

[](#stability)

[![Build Status](https://camo.githubusercontent.com/d168d421d02b5006db5f21b441cc917d7aa6065dc6850e080648a21b055a6239/68747470733a2f2f7472617669732d63692e6f72672f6d61786d6f64652f67656e657261746f722e706e67)](https://travis-ci.org/maxmode/generator)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/519ecc5793501ce81faf7be854182aaaa5cb8b62d0f26566d28a32a546d0a530?d=identicon)[maxmode](/maintainers/maxmode)

---

Top Contributors

[![maxmode](https://avatars.githubusercontent.com/u/5437939?v=4)](https://github.com/maxmode "maxmode (19 commits)")

### Embed Badge

![Health badge](/badges/maxmode-generator/health.svg)

```
[![Health](https://phpackages.com/badges/maxmode-generator/health.svg)](https://phpackages.com/packages/maxmode-generator)
```

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[chi-teck/drupal-code-generator

Drupal code generator

26947.8M5](/packages/chi-teck-drupal-code-generator)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)

PHPackages © 2026

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