ARCANEDEV / noCAPTCHA

:passport_control: Helper for Google's new noCAPTCHA (reCAPTCHA v2 & v3)
MIT License
359 stars 56 forks source link

Laravel 4.2 CaptchaRule #77

Closed ligoo closed 6 years ago

ligoo commented 6 years ago

Description: Can't get Laravel to recognize the CaptchaRule.

Got this error: "Class 'Arcanedev\NoCaptcha\Rules\CaptchaRule' not found" on the use Arcanedev\NoCaptcha\Rules\CaptchaRule;

Does the namespace has changed from 4.2 ?

ligoo commented 6 years ago

Seems the answer is somewhere here: https://github.com/ARCANEDEV/noCAPTCHA/issues/63

Maybe you should clarify the documentation about this for laravel 4.2.

arcanedev-maroc commented 6 years ago

I don't think it's necessary because the Rule Objects are introduced in laravel v5.5

CHANGELOG v5.5: https://github.com/laravel/framework/blob/5.5/CHANGELOG-5.5.md#validation Documentation: https://laravel.com/docs/5.5/validation#using-rule-objects