2017 © Pedro Peláez
 

library doctrine-generator

Generator to Doctrine ORM 2

image

globtec/doctrine-generator

Generator to Doctrine ORM 2

  • Tuesday, October 18, 2016
  • by josecarlos
  • Repository
  • 1 Watchers
  • 0 Stars
  • 222 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 1 % Grown

The README.md

Generator to Doctrine ORM 2

A PHP package customized to generate entity and repository classes of a project that uses Doctrine ORM in a command-line interface., (*1)

Installation

composer require globtec/doctrine-generator --dev

Usage

Before, you need create a PHP file named generator.php with the following code:, (*2)

require_once 'vendor/autoload.php';

// TODO: Add an instance of the EntityManager and assigns in a variable named $em 

Generator\Application::run($em);

To view a list of all available commands, you may use the list command:, (*3)

php generator.php list

To view all arguments and options, you may use the help command:, (*4)

php generator.php doctrine:generate --help

The Versions

18/10 2016

dev-master

9999999-dev

Generator to Doctrine ORM 2

  Sources   Download

MIT

The Requires

 

by José Carlos