Skip to content

Commit 1127c1e

Browse files
committed
documentation, strict types
1 parent 18e5706 commit 1127c1e

17 files changed

Lines changed: 49 additions & 17 deletions

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,16 @@ KarserRecaptcha3Bundle
99
reCAPTCHA v3 returns a score for each request without user friction.
1010
The score is based on interactions with your site (1.0 is very likely a good interaction,
1111
0.0 is very likely a bot) and enables you to
12-
take an appropriate action for your site. Register reCAPTCHA v3 keys
13-
[here](https://www.google.com/recaptcha/admin/create).
12+
take an appropriate action for your site.
1413

1514
![image](https://user-images.githubusercontent.com/1675033/58698825-bbca8e00-83a4-11e9-9627-e3a2b1a6c074.png)
1615

16+
Getting reCAPTCHA v3 key and secret
17+
--------------------------------
18+
19+
Register reCAPTCHA v3 keys [here](https://www.google.com/recaptcha/admin/create).
20+
21+
![Image](https://github.com/user-attachments/assets/fa5ca3cd-e87a-485c-aa25-5b4800da5bde)
1722

1823
Installation
1924
------------

ReCaptcha/ReCaptcha.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php
1+
<?php declare(strict_types=1);
2+
23
/**
34
* This is a PHP library that handles calling reCAPTCHA.
45
*

ReCaptcha/RequestMethod.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php
1+
<?php declare(strict_types=1);
2+
23
/**
34
* This is a PHP library that handles calling reCAPTCHA.
45
*

ReCaptcha/RequestMethod/Curl.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php
1+
<?php declare(strict_types=1);
2+
23
/**
34
* This is a PHP library that handles calling reCAPTCHA.
45
*

ReCaptcha/RequestMethod/CurlPost.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php
1+
<?php declare(strict_types=1);
2+
23
/**
34
* This is a PHP library that handles calling reCAPTCHA.
45
*

ReCaptcha/RequestMethod/Post.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php
1+
<?php declare(strict_types=1);
2+
23
/**
34
* This is a PHP library that handles calling reCAPTCHA.
45
*

ReCaptcha/RequestMethod/Socket.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php
1+
<?php declare(strict_types=1);
2+
23
/**
34
* This is a PHP library that handles calling reCAPTCHA.
45
*

ReCaptcha/RequestMethod/SocketPost.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php
1+
<?php declare(strict_types=1);
2+
23
/**
34
* This is a PHP library that handles calling reCAPTCHA.
45
*

ReCaptcha/RequestParameters.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php
1+
<?php declare(strict_types=1);
2+
23
/**
34
* This is a PHP library that handles calling reCAPTCHA.
45
*

ReCaptcha/Response.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<?php
1+
<?php declare(strict_types=1);
2+
23
/**
34
* This is a PHP library that handles calling reCAPTCHA.
45
*

0 commit comments

Comments
 (0)