sulu/generator-bundle

This package is abandoned and no longer maintained. The author suggests using the sulu/sulu package instead.

This bundle generates sulu code for you

Installs: 2 991

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 20

Forks: 0

Open Issues: 0

Type:sulu-bundle

dev-master 2013-08-22 14:01 UTC

This package is not auto-updated.

Last update: 2016-03-12 11:54:35 UTC


README

The SuluGeneratorBundle extends the default Symfony2 command line interface by providing new interactive and intuitive commands for generating code skeletons espacially for Sulu.

Commands

  • sulu:generate:bundle ... Generates a Bundle for Sulu

sulu:generate:bundle

Generates a Bundle for Sulu.

Special Parts
  • Adminclass for SuluAdmin
  • Required routing and service configuration files
  • Configuration for special tools:
    • Composer
    • Travis
    • PHPUnit
    • Grunt
    • Git
  • Public JavaScript files
Flow
  1. /Command/GenerateBundleCommand ... Handles flow of commandline, starts generating bundle
  2. /Generator/SuluBundleGenerator ... Generates Bundle structure and renders the required files
  3. /Manipulator/KernelManipulator ... Manipulates the Kernel of the Project and add the new Bundle
  4. /Manipulator/RoutingManipulator ... Manipulates the Routing of the Project and add the new Bundle for Routing
Structure
  • /Command/* ... CommandLine Commands definitions
  • /Generator/* ... Generators
  • /Manipulator/* ... Manipulators
  • /Resources/skeleton/bundle/* ... Skeleton for Bundle
  • /Resources/skeleton/sulu/* ... Special Sulu File Templates