定制 itscaro/crud-generator-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

itscaro/crud-generator-bundle

最新稳定版本:0.1.5

Composer 安装命令:

composer require itscaro/crud-generator-bundle

包简介

This bundle generates a nice CRUD

README 文档

README

This Symfony2 bundle extends [SensioGeneratorBundle] (https://github.com/sensio/SensioGeneratorBundle), it creates a nice CRUD with pagination, filter, translation and Twitter bootstrap 3 features.

This bundle is based on the one made by Jordi Llonch [CrudGeneratorBundle] (https://github.com/jordillonch/CrudGeneratorBundle)

Build Status

Screenshot

Screenshot

Why use a CRUD generator?

Well, because CRUD generator creates simple code, no magic, no configuration files, just simple and plain code that you can extend and modify easily.

Installation

Add following lines to your composer.json file:

"require": {
  "itscaro/crud-generator-bundle": "dev-master"
},

Execute:

php composer.phar update

Add it to the AppKernel.php class:

new Lexik\Bundle\FormFilterBundle\LexikFormFilterBundle(),
new Itscaro\CrudGeneratorBundle\ItscaroCrudGeneratorBundle(),

Add it to your app/config/config.yml

framework:
    translator: { fallback: en }

twig:
    form:
        resources:
            - LexikFormFilterBundle:Form:form_div_layout.html.twig

This bundle works on Symfony >= 2.5 version.

Dependencies

This bundle extends SensioGeneratorBundle and add

Usage

Use following command from console:

app/console itscaro:generate:crud

or to generate for all entities in a bundle

app/console itscaro:generate:all BUNDLE_NAME

Translation

Put your translations in :

  • BUNDLE_DIR/Resources/translations/ItscaroCrudGeneratorBundle..yml
  • ROOT_DIR/app/Resources/translations/ItscaroCrudGeneratorBundle..yml

Use your own skeleton

You can put your own templates in :

  • BUNDLE_DIR/Resources/ItscaroCrudGeneratorBundle/skeleton
  • ROOT_DIR/app/Resources/ItscaroCrudGeneratorBundle/skeleton

Credits

Jordi Llonch

License

CrudGeneratorBundle is licensed under the MIT License. See the LICENSE file for full details.

统计信息

  • 总下载量: 47
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: HTML

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-07-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固