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

How to override the main RecaptchaV3 class in laravel #36

Open
shabyis opened this issue Oct 11, 2023 · 1 comment
Open

How to override the main RecaptchaV3 class in laravel #36

shabyis opened this issue Oct 11, 2023 · 1 comment

Comments

@shabyis
Copy link

shabyis commented Oct 11, 2023

How to override the main RecaptchaV3 class in laravel

@ibrahem-kamal
Copy link

you can bind it in your container to return your class instead . for example in you AppServiceProvider boot method

$this->app->bind(RecaptchaV3::class, function (Application $app) {
    return new YourRecaptchaV3();
});

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

No branches or pull requests

2 participants