We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on validation Interface 'Illuminate\Contracts\Validation\Rule' not found - in CaptchaRule.php (line 12)
Interface 'Illuminate\Contracts\Validation\Rule' not found - in CaptchaRule.php (line 12)
Create a validatorRequest File in request directory and use the following rule : use Arcanedev\NoCaptcha\Rules\CaptchaRule;
use Arcanedev\NoCaptcha\Rules\CaptchaRule;
public function rules() { $rules = [ 'name' => 'required', 'email' => 'required|email', 'message' => 'required', 'g-recaptcha-response' => ['required', new CaptchaRule], ]; return $rules; }
Processing :
public function sendmail(ValidatorRequest $request) { $data = $request->all(); dd($data); }
The text was updated successfully, but these errors were encountered:
CaptchaRule implements Rule, which was introduced in Laravel 5.5.
Sorry, something went wrong.
How to work with Laravel 5.4 ?
Use release version 4.0.1
https://github.com/ARCANEDEV/noCAPTCHA/releases/tag/4.0.1
Downgrade your version to ~4.0
~4.0
Related: #63
arcanedev-maroc
No branches or pull requests
Description:
Error on validation
Interface 'Illuminate\Contracts\Validation\Rule' not found - in CaptchaRule.php (line 12)
Steps To Reproduce:
Create a validatorRequest File in request directory and use the following rule :
use Arcanedev\NoCaptcha\Rules\CaptchaRule;
Processing :
The text was updated successfully, but these errors were encountered: