定制 ctrl-f5/ctrl-rad-bundle 二次开发

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

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

ctrl-f5/ctrl-rad-bundle

最新稳定版本:v1.0.2

Composer 安装命令:

composer require ctrl-f5/ctrl-rad-bundle

包简介

Symfony CtrlRadBundle

README 文档

README

Build Status Code Climate Test Coverage

This bundle provides components to have a Symfony application up and running ASAP.

There is a Fork available that implements this bundle in the Symfony2 standard distribution.

What's inside?

  • Layout based on StartBootstrap Admin 2 including:
    • Twig Extensions for easy use of Twitter Bootstrap components suck as label and pagination.
    • easy configurable layout and templates for sidebar, topbar and breadcrumbs
    • FOSUserBundle template overrides
  • Basic configurable CRUD components
    • provided index and edit actions
    • index has a configurable grid with pagination and optional filtering
  • EntityService layer
    • provides a layer between the controllers and doctrine to put business logic that doesn't fit in any entity
    • provides basic methods to fetch data, optionally filtered and sorted
    • find methods provide easy availability to pagination
  • TableView
    • Configurable columns and row actions
    • automatic pagination
    • automatic filtering in CRUD index action

SB Admin 2

The default layout is StartBootstrap Admin 2, which is included through bower, so you can update it easily if needed.

There are several blocks you can override to control different parts: - topbar - sidebar - breadcrumbs

The app title that's used in the topbar and the html title can be set through the twig variable app_title.
This can also be set globally:

twig:
  globals:
    app_title: "My App"

Twig Extensions

  • Filters
    • label: converts a string or boolean to a bootstrap label, booleans are converted to yes or no
    • is_type: check if the variable is of a certain type
    • call: calls a php callable variable
  • Functions
    • page_title: prints the html for a page title for bootstrap
    • pagination: prints the html for a pagination for bootstrap
    • is_type: check if the variable is of a certain type
    • button and buttonGroup: render bootstrap buttons
    • table: render a TableView

More to read

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-05-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固