innocead/captcha-bundle

Symfony InnoceadCaptchaBundle

Installs: 33 190

Dependents: 0

Suggesters: 0

Security: 0

Stars: 7

Watchers: 1

Forks: 3

Open Issues: 1

Type:symfony-bundle

dev-master 2013-08-27 22:10 UTC

This package is not auto-updated.

Last update: 2024-04-13 13:57:20 UTC


README

The InnoceadCaptchaBundle adds support for a captcha in Symfony 2.1.* and later.

Features include:

  • Constraints Validator
  • Form type
  • Flexible configuration
  • Uses translations (ru, en)

Installation

See Resources/doc/installation.md

Usage

You can use the "innocead_captcha" type in your forms this way:

<?php
    // ...
    $builder->add('captcha', 'innocead_captcha');
    // ...

And Constraints Validator in model:

<?php

namespace ..\Model;

use Innocead\CaptchaBundle\Validator\Constraints as CaptchaAssert;

class RecoverAccount
{
    /**
     * @CaptchaAssert\Captcha
     */
    public $captcha;
}

Configuration

See Resources/doc/configuration.md

License

This bundle is under the MIT license. See the complete license in the bundle:

See Resources/meta/LICENSE