2017 © Pedro Peláez
 

symfony-bundle generator

Generate content for your symfony4 project

image

k3ssen/generator

Generate content for your symfony4 project

  • Wednesday, June 27, 2018
  • by kevin3ssen
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

GeneratorBundle

Build Status, (*1)

A Symfony bundle for quickly generating/prototyping a CRUD application. Compatible with Symfony 3.4 and Symfony 4., (*2)

This bundle is similar to Symfony's MakerBundle, except that this bundle is built to be more extensible., (*3)

Features: * Generate entities using interactive commands: - Define properties with their types (string, int, array, etc) and attributes (length, nullable, unique, etc) - Types also include relationship-types - ManyToOne, OneToMany, ManyToMany, OneToOne - Adds fields to mapped or inversed targetEntity - creates target entity if it does'nt exist yet. - Add validations (annotations like @Assert\Length) - Add fields to existing entities - Add traits - Read existing entities and interactively add/edit/remove properties. * Generate CRUD based on entities, including: - Controller (optionally use subdirectories) - AbstractController (generated once to be used by Controllers) - Template (twig) files - Form - Voter (optional) - AbstractVoter (generated once to be used by Voters) - Datatable (optional) - AbstractDatatable (generated once to be used by Datatables), (*4)

This bundle is highly customizable: - Files are generated through twig files, which you can override by using identical files in /templates/bundles/GeneratorBundle/.... - To make things simpler, you can use the command generate:templates to have this done automatically for you. - By using the meta_entity and generate_options parameters in twig you'll have lots of options to make your files perfectly suited for your application. - Enable/disable questions that you do or don't need
- Specify defaults - For complex usage, the bundle is built in a very extensible way, allowing you to override nearly everything independently., (*5)

Documenation

The Versions

27/06 2018

dev-master

9999999-dev

Generate content for your symfony4 project

  Sources   Download

MIT

The Requires

  • php >=7.1

 

The Development Requires

by Kevin Driessen

crud generator entity symfony metadata meta entities symfony4