Skip to content

Commit ad0147b

Browse files
authored
Merge pull request #3 from DutchCodingCompany/development
development to main
2 parents cdf2629 + 28ab2b9 commit ad0147b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/dependabot-auto-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
- name: Dependabot metadata
1515
id: metadata
16-
uses: dependabot/fetch-metadata@v2.1.0
16+
uses: dependabot/fetch-metadata@v2.2.0
1717
with:
1818
github-token: "${{ secrets.GITHUB_TOKEN }}"
1919

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# Livewire ReCAPTCHA v3/v2/v2-invisible
22

33
[![Latest Version on Packagist](https://img.shields.io/packagist/v/dutchcodingcompany/livewire-recaptcha.svg?style=flat-square)](https://packagist.org/packages/dutchcodingcompany/livewire-recaptcha)
4-
[![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/dutchcodingcompany/livewire-recaptcha/run-tests?label=tests)](https://github.com/dutchcodingcompany/livewire-recaptcha/actions?query=workflow%3Arun-tests+branch%3Amain)
5-
[![GitHub Code Style Action Status](https://img.shields.io/github/workflow/status/dutchcodingcompany/livewire-recaptcha/Check%20&%20fix%20styling?label=code%20style)](https://github.com/dutchcodingcompany/livewire-recaptcha/actions?query=workflow%3A"Check+%26+fix+styling"+branch%3Amain)
4+
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/dutchcodingcompany/livewire-recaptcha/run-tests.yml?branch=main&label=tests)](https://github.com/dutchcodingcompany/livewire-recaptcha/actions?query=workflow%3Arun-tests+branch%3Amain)
5+
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/dutchcodingcompany/livewire-recaptcha/php-cs-fixer.yml?branch=main&label=style)](https://github.com/dutchcodingcompany/livewire-recaptcha/actions?query=workflow%3A"Check+%26+fix+styling"+branch%3Amain)
6+
[![GitHub PHPStan Action Status](https://img.shields.io/github/actions/workflow/status/dutchcodingcompany/livewire-recaptcha/phpstan.yml?branch=main&label=phpstan)](https://github.com/DutchCodingCompany/livewire-recaptcha/actions?query=workflow%3APHPStan++branch%3Amain)
67
[![Total Downloads](https://img.shields.io/packagist/dt/dutchcodingcompany/livewire-recaptcha.svg?style=flat-square)](https://packagist.org/packages/dutchcodingcompany/livewire-recaptcha)
78

89
This package provides a custom Livewire directive to protect your Livewire functions with a _Google reCAPTCHA (v2 + v2
@@ -58,11 +59,10 @@ In your Livewire component, at your form submission method, add the `#[Validates
5859

5960
```php
6061
use Livewire\Component;
62+
use DutchCodingCompany\LivewireRecaptcha\ValidatesRecaptcha;
6163

6264
class SomeComponent extends Component
6365
{
64-
use DutchCodingCompany\LivewireRecaptcha\ValidatesRecaptcha;
65-
6666
// (optional) Set a response property on your component.
6767
// If not given, the `gRecaptchaResponse` property is dynamically assigned.
6868
public string $gRecaptchaResponse;

0 commit comments

Comments
 (0)