webeith / spamassassin-bundle
Spamassassin bundle for Symfony2
Package info
github.com/webeith/spamassassin-bundle
Type:symfony-bundle
pkg:composer/webeith/spamassassin-bundle
dev-master
2014-07-10 08:54 UTC
Requires
- php: >=5.3.2
- symfony/framework-bundle: >=2.0.0
- webeith/php-spamassassin: *
This package is not auto-updated.
Last update: 2026-03-10 11:07:36 UTC
README
Usage Example
$this->getContainer()->get('spamassassin');
Configuration config.yml example
webeith_spamassassin: hostname: "localhost" port: 783 socketPath: ~ protocolVersion: "1.5" enableZlib: true
Installation
Install via Composer
Add the following lines to your composer.json file and then run php composer.phar install or php composer.phar update:
{
"require": {
"webeith/spamassassin-bundle": "dev-master"
}
}
Register the bundle
To start using the bundle, register it in app/AppKernel.php:
public function registerBundles() { $bundles = array( // Other bundles... new Webeith\SpamassassinBundle\WebeithSpamassassinBundle(), ); }