Download the PHP package rmobis/recaptcha-laravel without Composer
On this page you can find all versions of the php package rmobis/recaptcha-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rmobis/recaptcha-laravel
More information about rmobis/recaptcha-laravel
Files in rmobis/recaptcha-laravel
Package recaptcha-laravel
Short Description A reCAPTCHA library with out of the box integration for the Laravel framework.
License
Informations about the package recaptcha-laravel
Laravel Recaptcha
A reCAPTCHA library with out of the box Laravel integration. This is merely a wrap for romainneutron/ReCaptcha, as to add Laravel integration, therefore, all methods present in the Neutron/ReCaptcha\ReCaptcha
class are also available here.
Installation
The best way to install the package is through Composer.
composer.json
app/config/app.php
...
Configuration
This is where you'll set up your public and private keys, as well as your customization options. To export the configuration file, do:
`
Features
Laravelish Syntax
This allows you to use the Recaptcha class in the same way you use all Laravel classes, keeping your code shining and awesome. For instance, if you were to manually check if a given request was correctly made, this is how you'd do it.
``
Validation Rule
This gives you a new validation rule, just like the other ones, which allows you to easily validate all your forms with reCAPTCHA. Simply add it to your validation rules array, and it'll do the magic.
``
Form Macro
Gives you an easy way to quickly output all the code needed to output the reCAPTCHA widget. Optionally, you can pass an $options
array, to override and extend the default options, set in the configuration file.
` Generates:
All versions of recaptcha-laravel with dependencies
illuminate/support Version 4.0.*
illuminate/config Version 4.0.*
neutron/recaptcha Version 0.1.*