Bundle which provide a simple way to generate an empty code structure from skeleton files using generic tags.
The recommended installation method is through composer:
composer require --dev majora/generator-bundle
The Majora Generator needs to have skeletons installed somewhere before generating stuff in your project (take a look at our base skeletons if you don't know where to start).
When you're done with your project skeleton files, you'll have to tell the generator where to find them :
# config_dev.yml
majora_generator:
skeletons_path: %kernel.root_dir%/../skeletons/symfony-standard
php app/console majora:generate Vendor Namespace Entity
Majora Generator Bundle also provides some base skeletons which are waiting to be installed, customized and heavily generated in your projects.
Skeleton name | Description |
---|---|
symfony-standard | README |
php app/console majora:generate:skeleton symfony-standard