kematjaya/crud-maker-bundle
最新稳定版本:7.0.3
Composer 安装命令:
composer require kematjaya/crud-maker-bundle
包简介
crud generator base on symfony maker-bundle
README 文档
README
CRUD generator base on Symfony Maker Bundle
- installation
composer require kematjaya/crud-maker-bundle
- Generate Filter Form
php bin/console make:kmj-filter
- Generate CRUD include form, filter and pagination
php bin/console make:kmj-crud
if use modal add to base template
<div class="modal fade" id="myModal">
<div class="modal-content" id="modal-dialog">
<div style="text-align: center"><img src="{{ asset('bundles/basecontroller/images/loading.gif') }}" style="width: 20px"/></div>
</div>
</div>
and add jquery.js
- if you want to change generator template, you can set template path in config
# config/packages/crud_generator.yaml
# assume your template in root-project/generator
crud_maker:
templates:
path: '%kernel.project_dir%/generator'
thank to:
- Filter type provide by https://github.com/lexik/LexikFormFilterBundle
- pagination provide by https://github.com/KnpLabs/KnpPaginatorBundle
- Base CRUD by: https://github.com/symfony/maker-bundle
统计信息
- 总下载量: 1.83k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-02-24