albertcht / invisible-recaptcha

An invisible reCAPTCHA package for Laravel, Lumen, CI or native PHP.
MIT License
603 stars 162 forks source link

Add partial/split render methods to allow usage with restrictive javascript frameworks. #79

Closed danmatthews closed 5 years ago

danmatthews commented 6 years ago

This request just splits out the render method into completely optional separate methods and directives which can be used to pull the script tags out of the main <form> - allowing you to use this with VueJS and any other HTML template based Javascript framework that might restrict script tags in the template.

danmatthews commented 6 years ago

Whoops! I'll fix these conflicts shortly.

albertcht commented 6 years ago

Hi @danmatthews ,

Thanks for your pull request. Sorry for the late reply because recently I'm busy working on another project.

I will follow this PR and review the code as soon as possible. Thanks again!

danmatthews commented 6 years ago

@albertcht no problem, i still need to remove that composer.json change.

Jamesking56 commented 6 years ago

@danmatthews Any update for this?

ahoiroman commented 5 years ago

I am really waiting for this ;-)

danmatthews commented 5 years ago

Hey Guys, i've removed the blockers, but i've had half a bottle of wine, so forgive me if i've made some stupid mistake, i'll double-check this tomorrow. Sorry for the delay!

ahoiroman commented 5 years ago

Thank you. Can't wait for the merge :-)

albertcht commented 5 years ago

Thanks for this PR, I will release a new version after I do the final review :)

ahoiroman commented 5 years ago

Sounds great! Can't wait for it. Thank you for your work!