dlancea / symfony-generate-php-crud-bundle
Extends Symfony's CRUD Generator to create PHP view files (instead of twig)
Requires
- sensio/generator-bundle: 2.1.*
- symfony/console: 2.1.*
- symfony/framework-bundle: 2.1.*
Requires (Dev)
- doctrine/orm: >=2.1,<2.4-dev
- symfony/doctrine-bridge: 2.1.*
- twig/twig: >=1.8,<2.0-dev
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.