Coder Social home page Coder Social logo

hcaptcha's People

Contributors

laravel-shift avatar mohamad-supangat avatar phuclh avatar rubensrocha avatar rvxlab avatar scyllaly avatar tofandel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hcaptcha's Issues

Add support for Laravel 11

- Conclusion: don't install laravel/framework v11.0.0 (conflict analysis result)
- scyllaly/hcaptcha 4.4.5 requires illuminate/support 5.*|6.*|7.*|8.*|^9.0|10.*

Config filename does not follow Laravel's pattern for config filenames.

Hello,

Would you guys be open to change the config filename from config/HCaptcha.php to config/hcaptcha.php, so that it follows the Laravel's pattern for config filenames?

While this is not standardized, as Laravel doesn't enforce a specific filename, there's plenty of best practices recommendations, such as this one: https://github.com/alexeymezenin/laravel-best-practices#follow-laravel-naming-conventions - and some of us are really trying to follow these patterns.

I can do a pull request if needed, and if you're open to this change, just let me know.

Thank you.

Maintainer needed? - Fork available

I see this repo doesn't get a lot of commits, perhaps because of lack of time?

If you need a maintainer I'd be willing to give you a hand.


Due to Scyllaly being unresponsive I'm now maintaining a fork.

Website 500 error

Did the following and I now get a 500 error

1- The ServiceProvider to the providers array :

Scyllaly\HCaptcha\HCaptchaServiceProvider::class,
2- The class alias to the aliases array :

'HCaptcha' => Scyllaly\HCaptcha\Facades\HCaptcha::class,
3- Publish the config file

php artisan vendor:publish --provider="Scyllaly\HCaptcha\HCaptchaServiceProvider"

Validation?

Been trying to add validation to the controller files and it either just doesn't work at all or it gives my site a 500 error. please add more documentation

Fix Documentation

Fix validation rules in the documentation in the "Validation" section.
It should be required|HCaptcha instead of required|captcha.

Thanks for the package! ❤️

Custom and default error message

  1. In docs have error for message key. Maybe captcha => h_captcha?

'custom' => [
    'h-captcha-response' => [
        'required' => 'Please verify that you are not a robot.',
        'h_captcha' => 'Captcha error! try again later or contact site admin.',
    ],
],

  1. Your should add default error message, otherwise if check will fail users see "validate.h_captcha" message.

Package not autoloaded

For some reason after doing the installation step I don't see this package in the composer discovered packages, and I get the error
Method Illuminate\\Validation\\Validator::validateHCaptcha does not exist.

So clearly the package isn't installing correctly

Edit: Okay, after php artisan config:cache it now loads correctly

Livewire integration

Do you have any tips on how to integrate with Livewire? I tried to include it in a modal, but the captcha does not appear.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.