symfony-bundle spamassassin-bundle
Spamassassin bundle for Symfony2
webeith/spamassassin-bundle
Spamassassin bundle for Symfony2
- Thursday, July 10, 2014
- by webeith
- Repository
- 1 Watchers
- 0 Stars
- 17,405 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 1 Versions
- 5 % Grown
SpamassassinBundle
, (*1)
Usage Example
``` php
$this->getContainer()->get('spamassassin');, (*2)
Configuration config.yml example
-------------
``` yml
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
:, (*3)
{
"require": {
"webeith/spamassassin-bundle": "dev-master"
}
}
Register the bundle
To start using the bundle, register it in app/AppKernel.php
:, (*4)
public function registerBundles()
{
$bundles = array(
// Other bundles...
new Webeith\SpamassassinBundle\WebeithSpamassassinBundle(),
);
}
dev-master
9999999-dev
Spamassassin bundle for Symfony2
Sources
Download
MIT
The Requires
by
webeith
spamassassin