2017 © Pedro Peláez
 

symfony-bundle generator

Command line tools to generate code for sonata-admin bundle

image

maxmode/generator

Command line tools to generate code for sonata-admin bundle

  • Monday, October 28, 2013
  • by maxmode
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

About

This is a bundle for Symfony 2., (*1)

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

The command generates code based on Doctrine entities metadata., (*3)

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, (*4)

    "maxmode/generator": "dev-master"
  1. Register bundle in AppKernel.php:
    $bundles = array(
        ...
        new Maxmode\GeneratorBundle\MaxmodeGeneratorBundle(),
    );

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

Build Status, (*5)

The Versions