webeith/dnsbl-bundle

Symfony2 的 Dnsbl 集成包

安装次数: 26

依赖者: 0

建议者: 0

安全: 0

星标: 0

关注者: 2

分支: 0

开放问题: 0

类型:symfony-bundle

dev-master 2014-04-07 20:51 UTC

This package is not auto-updated.

Last update: 2024-09-14 14:40:02 UTC


README

License Total Downloads

使用示例

$this->getContainer()->get('dnsbl');

安装

通过 Composer 安装

将以下行添加到您的 composer.json 文件中,然后运行 php composer.phar installphp composer.phar update

{
    "require": {
        "webeith/dnsbl-bundle": "dev-master"
    }
}

注册包

要开始使用此包,请将其注册到 app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // Other bundles...
        new Webeith\DnsblBundle\WebeithDnsblBundle(),
    );
}