Download the PHP package nicolasbeauvais/laravel-botscout without Composer
On this page you can find all versions of the php package nicolasbeauvais/laravel-botscout. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nicolasbeauvais/laravel-botscout
More information about nicolasbeauvais/laravel-botscout
Files in nicolasbeauvais/laravel-botscout
Package laravel-botscout
Short Description botscout.com protection for laravel
License MIT
Homepage https://github.com/nicolasbeauvais/laravel-botscout
Informations about the package laravel-botscout
Laravel BotScout
Protect your website against automated scripts using the botscout.com API.
Installation
You can install the package via composer:
Next, you must install the service provider:
Add your botscout.com api key to the .env
file:
If needed you can also publish the config file:
If you want to make use of the facade you must install it as well:
Usage
You are highly advised to read the BotScout.com API guide to understand the meaning of each method.
Validator
You can easily use botscout in your existing validators:
Note that you will need to create the validation message by yourself, as described in the Laravel documentation.
Facade
You can use the BotScout facade anywhere in your app:
Real life example using the check method
The check
method is the recommended way to validate a register form:
The
check
method is a wrapper to themulti
method that catch any http error / timeout. If the botscout api is not responding, the method will return false.
Changelog
Please see CHANGELOG for more information what has changed recently.
Testing
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Nicolas Beauvais
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-botscout with dependencies
illuminate/contracts Version ~5.1.0|~5.2.0|~5.3.0|~5.4.0|~5.5.0|~5.6.0|~5.7.0|~5.8.0
illuminate/support Version ~5.1.0|~5.2.0|~5.3.0|~5.4.0|~5.5.0|~5.6.0|~5.7.0|~5.8.0
nicolasbeauvais/botscout-client Version ^1.0