majora / generator-bundle
Config, code and template generator, with custom integrations for Symfony Framework
Installs: 2 337
Dependents: 1
Suggesters: 2
Security: 0
Stars: 1
Watchers: 40
Forks: 2
Type:symfony-bundle
Requires
- php: >=5.6
- majora/framework-extra-bundle: >=1.0
- sensio/generator-bundle: >=2.7
Requires (Dev)
- phpunit/phpunit: ~5.1
This package is not auto-updated.
Last update: 2020-02-07 15:56:19 UTC
README
Bundle which provide a simple way to generate an empty code structure from skeleton files using generic tags.
Installation
The recommended installation method is through composer:
composer require --dev majora/generator-bundle
Configuration
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
Usage
php app/console majora:generate Vendor Namespace Entity
Majora Base Skeletons
Majora Generator Bundle also provides some base skeletons which are waiting to be installed, customized and heavily generated in your projects.
Available base skeletons
Skeleton name | Description |
---|---|
symfony-standard | README |
Install a base skeleton
php app/console majora:generate:skeleton symfony-standard