digitalcampusframework/dcf-symfony-framework
Composer 安装命令:
composer require digitalcampusframework/dcf-symfony-framework
包简介
A symfony framework for digitalcampusframework (DCF) based applications
README 文档
README
Notice: This framework is currently a prototype and a WIP.
Uses the Symfony Bundle System to provide DCF Base Controller and common templates. In the future it may be updated to support other symfony bundle functionality which all DCF based applications may use.
For more information on DCF see https://github.com/digitalcampusframework/dcf and https://github.com/digitalcampusframework/dcf_starter.
This framework currently provides the following:
- Symfony Logger (not used but available)
- DCF Notice Support
- Common Page Header partial
Examples
DCF Notice
In controller:
$this->addDCFNoticeFlash(BaseController::FLASH_MESSAGE_TYPE_INFO, 'Success', 'Your lucky number has been generated.');
Common Page Header
In template:
{{ include('@DCFFramework/partials/page-header.html.twig', {title: 'Home Page'}) }}
统计信息
- 总下载量: 28
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2022-03-07