houseofagile / single-page-boostrap-bundle
基于bootstrap和symfony的单页应用
dev-master / 0.8.x-dev
2014-12-08 20:06 UTC
Requires
- ironsummitmedia/startbootstrap: master
- mopa/bootstrap-bundle: dev-master
- symfony/console: *
- symfony/framework-bundle: ~2.3
- twbs/bootstrap: dev-master
Requires (Dev)
- dacorp/extra-bundle: dev-master
- houseofagile/notification-bundle: dev-master
- jms/serializer-bundle: dev-master as 0.12.0
- jms/translation-bundle: 1.1.*
- knplabs/knp-menu: dev-master as 1.1
- knplabs/knp-menu-bundle: dev-master as 1.1
This package is not auto-updated.
Last update: 2024-09-14 16:00:18 UTC
README
Single Page Bootstrap Bundle ############################
这是一个简单的包,用于将一些bootstrap主题包装在简单的symfony骨架周围,具有国际化(i18n)和基本表单管理。
安装
安装此包
简单地运行,假设您已安装composer.phar或composer二进制文件
$ php composer.phar require houseofagile/HOASinglePageBootstrapBundle 0.8.*
启用包
最后,在内核中启用此包
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new HOA\Bundle\SinglePageBundle\HOASinglePageBundle() // if you choose to use HOANotificationBundle for contact notification, make sure that it is registered in your application // new HOA\Bundle\NotificationBundle\HOANotificationBundle(), ); }
分支
如果您想使用当前的master分支,请使用以下命令
{ "require": { "houseofagile/single-page-boostrap-bundle": "dev-master" } }
如果您想使用当前的分支
{ "require": { "houseofagile/single-page-boostrap-bundle": "0.8.*@dev" } }
文档
单页配置
单页配置通过其yml配置文件。该文件用于设置单页的全局设置,定义单页中使用的数据值,以及定义应可翻译的键。
附加资源
- BootstrapSinglePage - 基于最新Symfony标准对此包的简单集成。
警告
我们试图使此包尽可能通用,但当然有许多依赖项,建议通过我们的single-page-bootstrap-bundle启动项目集成使用此包。
贡献
如果您想为SinglePageBootstrapBundle贡献代码,请确保您的PR符合Symfony2.1编码标准。您可以使用PHP-CS-Fixer工具自动修复代码。
您可以在贡献者页面查看已经为此项目做出贡献的人。
许可证
此包受Apache许可证的约束。有关更多信息,请参阅包中的完整LICENCE文件。