dev-master
9999999-devGenerator to Doctrine ORM 2
MIT
The Requires
- php >=5.4
- doctrine/orm 2.5.4
by José Carlos
Wallogit.com
2017 © Pedro Peláez
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)
composer require globtec/doctrine-generator --dev
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
Generator to Doctrine ORM 2
MIT