webeith / dnsbl-bundle
Symfony2 的 Dnsbl 集成包
dev-master
2014-04-07 20:51 UTC
Requires
- php: >=5.3.2
- symfony/framework-bundle: >=2.0.0
- webeith/dnsbl: *
This package is not auto-updated.
Last update: 2024-09-14 14:40:02 UTC
README
使用示例
$this->getContainer()->get('dnsbl');
安装
通过 Composer 安装
将以下行添加到您的 composer.json
文件中,然后运行 php composer.phar install
或 php composer.phar update
{ "require": { "webeith/dnsbl-bundle": "dev-master" } }
注册包
要开始使用此包,请将其注册到 app/AppKernel.php
public function registerBundles() { $bundles = array( // Other bundles... new Webeith\DnsblBundle\WebeithDnsblBundle(), ); }