ehann / notification-bundle
适用于Symfony2的Twitter Bootstrap兼容的闪存通知包
1.2.0
2014-03-20 17:11 UTC
Requires
- php: >=5.3.2
- symfony/http-foundation: 2.*
- twig/twig: >=1.5
README
适用于Symfony2的Twitter Bootstrap兼容通知包。
相关包
安装
在composer.json中添加EhannNotificationBundle
{ "require": { "ehann/notification-bundle": "1.*" } }
下载包
$ php composer.phar update ehann/notification-bundle
将EhannNotificationBundle添加到AppKernel.php中
public function registerBundles() { $bundles = array( ... new Ehann\NotificationBundle\EhannNotificationBundle(), ... ); ... }
使用文档
https://github.com/ethanhann/EhannNotificationBundle/blob/master/Resources/doc/usage.md