diff --git a/README.md b/README.md new file mode 100644 index 0000000..57976ce --- /dev/null +++ b/README.md @@ -0,0 +1,62 @@ +Gregwar's CaptchaBundle +===================== + +`GregwarCaptchaBundle` provides the form type "captcha" + +Installation +============ + +To install `GregwarCaptchaBundle`, first adds it to your `deps`: + + [GregwarCaptchaBundle] + git=git://github.com/Gregwar/CaptchaBundle.git + target=/bundles/Gregwar/CaptchaBundle + +And run `php bin/vendors install`. Then add the namespace to your `app/autoload.php` +file: + +```php + __DIR__.'/../vendor/bundles', +... +``` + +And registers the bundle in your `app/AppKernel.php`: + +```php +add('captcha', 'captcha'); // That's all ! + // ... +``` + +Note that the generated image will be embeded in the HTML document, to avoid dealing +with route and subrequests. + +License +======= + +This bundle is under MIT license