webeith / spamassassin-bundle
Spamassassin bundle for Symfony2
Installs: 26 723
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.2
- symfony/framework-bundle: >=2.0.0
- webeith/php-spamassassin: *
This package is not auto-updated.
Last update: 2024-12-17 04:31:54 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(), ); }