dlancea/symfony-generate-php-crud-bundle

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

Extends Symfony's CRUD Generator to create PHP view files (instead of twig)

dev-master 2013-05-06 20:48 UTC

This package is not auto-updated.

Last update: 2020-10-24 08:44:46 UTC


README

The DlanceaGeneratePhpCrudBundle extends the default Symfony2 Doctrine CRUD controllers, created by extending the original Sensio generator bundle to create PHP view files instead of twig files. Since this bundle is an extension of the Sensio one, that bundle is a requirement.

To use the new command, run the following on the command line:

php app/console dlancea:generate:phpcrud

The command uses the same parameters as doctrine:generate:crud.

Todo

  • Testing
  • Better code re-use(?)

FYI, I gave up on this project. Trying to use Symfony with PHP templates is just not viable if you want to use additional 3rd party code since libraries use twig almost exclusively and the two don't work together. This library works, but will not be maintained.