ihqs / ContactBundle

This is a Contact Bundle built on the Observer Pattern. Plug any listener you want to your contact form in a really simple way and flexible way
http://ihqs.net
25 stars 15 forks source link

Spam detection #3

Closed digitalkaoz closed 12 years ago

digitalkaoz commented 12 years ago

hey,

i've implemented a spam detection for your contactBundle.

by default no spam will be detected, but you can simply use the ornicar_akismet bundle just by

ihqs_contact:
    spam_detector:
        service: ornicar_akismet

you are able to use another service or use a new spam detector

ihqs_contact:
    spam_detector:
        service: my_spam_detection_service

or

ihqs_contact:
    spam_detector:
        class: My\Bundle\SpamDetector

i have also updated and tweaked the docs a bit...