majora/generator-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

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

v1.0 2016-03-11 08:35 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