Skip to content
New issue

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

Laravel 4.2 CaptchaRule #77

Closed
ligoo opened this issue Sep 13, 2018 · 2 comments
Closed

Laravel 4.2 CaptchaRule #77

ligoo opened this issue Sep 13, 2018 · 2 comments
Assignees

Comments

@ligoo
Copy link

ligoo commented Sep 13, 2018

  • noCaptcha Version: 1.2.7
  • Laravel Version: 4.2.22
  • PHP Version: 5.6.37

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
Copy link
Author

ligoo commented Sep 13, 2018

Seems the answer is somewhere here: #63

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

@arcanedev-maroc
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants