dlancea/symfony-generate-php-crud-bundle
Composer 安装命令:
composer require dlancea/symfony-generate-php-crud-bundle
包简介
Extends Symfony's CRUD Generator to create PHP view files (instead of twig)
README 文档
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.
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-01-07