Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.
This repository was archived by the owner on Jun 10, 2024. It is now read-only.

recatcha v3 setup on laravel 10 #101

Open
@srakl

Description

@srakl

Describe the bug
Call to undefined method Biscolab\ReCaptcha\ReCaptchaBuilderV3::htmlFormSnippet()

To Reproduce
i followed the steps in documentation, when i add this in header

<!-- ReCaptcha v3 -->
{!! ReCaptcha::htmlScriptTagJsApiV3() !!}

and this in form

<form method="post" action="{{ route('contact.send') }}">
                                @csrf
                                {!! htmlFormSnippet() !!}
</form>

i get this error when i load the page,

``Call to undefined method Biscolab\ReCaptcha\ReCaptchaBuilderV3::htmlFormSnippet()`

how do i fix this? Thank you.

Environment:

  • PHP version [8.1]
  • Laravel version [10]
  • Package version [6]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions