A simple app to generate doctrine entity from CLI using symfony 6
- Download or clone the repository
git@github.com:biplobice/doctrine-entity-generator.git
. cd doctrine-entity-generator
- Run
composer install
- Run
./bin/console make:entity
and follow the instructions - The entity and the repository will be generated in
Entity
andRepostiry
respectively undersrc
directory. - Copy the files to your project and update the namespace as your need.