for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ElfSundae\Laravel\Support\Services\Captcha;
use Mews\Captcha\CaptchaServiceProvider as ServiceProvider;
class MewsCaptchaServiceProvider extends ServiceProvider
{
/**
* Override the original Captcha service provider to
* remove the default routing.
*/
public function boot()
$this->publishes([
base_path('vendor/mews/captcha/config/captcha.php') => config_path('captcha.php'),
], 'config');
$this->app['validator']->extend('captcha', function ($attribute, $value, $parameters) {
$parameters
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
return captcha_check($value);
});
}
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.