Symfony Captcha Plugin
A symfony plugin to generate and validate captcha images using the form framework.
This plugin is for symfony version 1.4 or above (however should also work with version 1.2, although untested).
Download
| bedicanCaptchaPlugin 1.0 | bedicanCaptchaPlugin-1.0.zip | Download |
Configuration
The following configuration should be added to the applications app.yml configuration file.
all:
captcha:
# Private key used within the hashing algorithm.
# You should override and change this.
key: "hky=7km8ddl-8Rss12LFu"
# The font to use within the image.
# This can be an array to randomize the font used.
font: f25-bank-printer
# Directory where fonts are stored.
# By default, this is within the plugin ./data/fonts directory.
#fontdir: "/dir/to/fonts"
Sample

License
© Copyright 2010, 2012 Bedican Solutions
Redistribution and use of this software is permitted providing the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name bedican, bedican solutions nor the name of the author, may be used to endorse or promote any website or products without specific prior written permission. The name bedican is a trademark of bedican solutions.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
