Skip to content

Commit acd8f4a

Browse files
committed
UPDATED
1 parent 4116782 commit acd8f4a

11 files changed

+34
-36
lines changed

composer.json

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "ryandeng/googlerecaptcha",
2+
"name": "timehunter/laravel-google-recaptcha-v3",
33
"description": "Laravel 5.x library for reCAPTCHA v3",
44
"license": "MIT",
55
"authors": [
@@ -13,15 +13,14 @@
1313
"keywords": [
1414
"Laravel",
1515
"GoogleReCaptcha",
16+
"Google reCAPTCHA",
17+
"google recaptcha v3",
1618
"reCAPTCHA v3",
1719
"Laravel reCAPTCHA"
1820
],
1921
"require": {
20-
"php" : ">=7.1.0",
21-
"illuminate/container": "~5.7.0",
22-
"illuminate/support": "~5.7.0",
23-
"illuminate/http": "~5.7.0",
24-
"guzzlehttp/guzzle": "^6.2"
22+
"php": ">=5.5",
23+
"illuminate/support": "~5"
2524
},
2625
"require-dev": {
2726
"phpunit/phpunit": "~7.0",
@@ -31,21 +30,21 @@
3130
},
3231
"autoload": {
3332
"psr-4": {
34-
"RyanDeng\\GoogleReCaptcha\\": "src/"
33+
"TimeHunter\\LaravelGoogleCaptchaV3\\": "src/"
3534
}
3635
},
3736
"autoload-dev": {
3837
"psr-4": {
39-
"RyanDeng\\GoogleReCaptcha\\Tests\\": "tests"
38+
"TimeHunter\\LaravelGoogleCaptchaV3\\Tests\\": "tests"
4039
}
4140
},
4241
"extra": {
4342
"laravel": {
4443
"providers": [
45-
"RyanDeng\\GoogleReCaptcha\\Providers\\GoogleReCaptchaV3ServiceProvider"
44+
"TimeHunter\\LaravelGoogleCaptchaV3\\Providers\\GoogleReCaptchaV3ServiceProvider"
4645
],
4746
"aliases": {
48-
"GoogleReCaptchaV3": "RyanDeng\\GoogleReCaptcha\\Facades\\GoogleReCaptchaV3"
47+
"GoogleReCaptchaV3": "TimeHunter\\LaravelGoogleCaptchaV3\\Facades\\GoogleReCaptchaV3"
4948
}
5049
}
5150
}

src/Configurations/ReCaptchaConfigV3.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

3-
namespace RyanDeng\GoogleReCaptcha\Configurations;
3+
namespace TimeHunter\LaravelGoogleCaptchaV3\Configurations;
44

55

6-
use RyanDeng\GoogleReCaptcha\Interfaces\ReCaptchaConfigV3Interface;
6+
use TimeHunter\LaravelGoogleCaptchaV3\Interfaces\ReCaptchaConfigV3Interface;
77

88
class ReCaptchaConfigV3 implements ReCaptchaConfigV3Interface
99
{

src/Core/CurlRequestClient.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
* Time: 下午7:24
77
*/
88

9-
namespace RyanDeng\GoogleReCaptcha\Core;
9+
namespace TimeHunter\LaravelGoogleCaptchaV3\Core;
1010

1111

12-
use RyanDeng\GoogleReCaptcha\Interfaces\RequestClientInterface;
12+
use TimeHunter\LaravelGoogleCaptchaV3\Interfaces\RequestClientInterface;
1313

1414
class CurlRequestClient implements RequestClientInterface
1515
{

src/Core/GoogleReCaptchaV3Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Time: 下午11:46
77
*/
88

9-
namespace RyanDeng\GoogleReCaptcha\Core;
9+
namespace TimeHunter\LaravelGoogleCaptchaV3\Core;
1010

1111

1212
use Carbon\Carbon;

src/Core/GuzzleRequestClient.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
* Time: 下午7:24
77
*/
88

9-
namespace RyanDeng\GoogleReCaptcha\Core;
9+
namespace TimeHunter\LaravelGoogleCaptchaV3\Core;
1010

1111

1212
use GuzzleHttp\Exception\ClientException;
13-
use RyanDeng\GoogleReCaptcha\Interfaces\RequestClientInterface;
13+
use TimeHunter\LaravelGoogleCaptchaV3\Interfaces\RequestClientInterface;
1414
use GuzzleHttp\Client;
1515

1616

src/Facades/GoogleReCaptchaV3.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?php
22

3-
namespace RyanDeng\GoogleReCaptcha\Facades;
3+
namespace TimeHunter\LaravelGoogleCaptchaV3\Facades;
44

55
use Illuminate\Support\Facades\Facade;
6-
use RyanDeng\GoogleReCaptcha\Core\GoogleReCaptchaV3Response;
6+
use TimeHunter\LaravelGoogleCaptchaV3\Core\GoogleReCaptchaV3Response;
77

88
/**
99
* @method static GoogleReCaptchaV3Response verifyResponse(array $data)
10-
* @method static \RyanDeng\GoogleReCaptcha\GoogleReCaptchaV3 setAction(string $value)
10+
* @method static \TimeHunter\LaravelGoogleCaptchaV3\GoogleReCaptchaV3 setAction(string $value)
1111
* @method static render($action)
1212
* @see ReCaptcha
1313
*/

src/GoogleReCaptchaV3.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
* Time: 5:29 PM
77
*/
88

9-
namespace RyanDeng\GoogleReCaptcha;
9+
namespace TimeHunter\LaravelGoogleCaptchaV3;
1010

11-
use RyanDeng\GoogleReCaptcha\Interfaces\ReCaptchaConfigV3Interface;
12-
use RyanDeng\GoogleReCaptcha\Interfaces\RequestClientInterface;
13-
use RyanDeng\GoogleReCaptcha\Core\GoogleReCaptchaV3Response;
11+
use TimeHunter\LaravelGoogleCaptchaV3\Interfaces\ReCaptchaConfigV3Interface;
12+
use TimeHunter\LaravelGoogleCaptchaV3\Interfaces\RequestClientInterface;
13+
use TimeHunter\LaravelGoogleCaptchaV3\Core\GoogleReCaptchaV3Response;
1414

1515
class GoogleReCaptchaV3
1616
{

src/Interfaces/ReCaptchaConfigV3Interface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Time: 5:29 PM
77
*/
88

9-
namespace RyanDeng\GoogleReCaptcha\Interfaces;
9+
namespace TimeHunter\LaravelGoogleCaptchaV3\Interfaces;
1010

1111

1212
interface ReCaptchaConfigV3Interface

src/Interfaces/RequestClientInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Time: 5:29 PM
77
*/
88

9-
namespace RyanDeng\GoogleReCaptcha\Interfaces;
9+
namespace TimeHunter\LaravelGoogleCaptchaV3\Interfaces;
1010

1111

1212
interface RequestClientInterface

src/Providers/GoogleReCaptchaV3ServiceProvider.php

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
<?php
22

3-
namespace RyanDeng\GoogleReCaptcha\Providers;
3+
namespace TimeHunter\LaravelGoogleCaptchaV3\Providers;
44

55

6-
use RyanDeng\GoogleReCaptcha\Configurations\ReCaptchaConfigV3;
7-
use RyanDeng\GoogleReCaptcha\Core\GuzzleRequestClient;
8-
use RyanDeng\GoogleReCaptcha\GoogleReCaptchaV3;
9-
use RyanDeng\GoogleReCaptcha\Interfaces\ReCaptchaConfigV3Interface;
10-
use RyanDeng\GoogleReCaptcha\Interfaces\RequestClientInterface;
6+
use TimeHunter\LaravelGoogleCaptchaV3\Configurations\ReCaptchaConfigV3;
7+
use TimeHunter\LaravelGoogleCaptchaV3\Core\GuzzleRequestClient;
8+
use TimeHunter\LaravelGoogleCaptchaV3\GoogleReCaptchaV3;
9+
use TimeHunter\LaravelGoogleCaptchaV3\Interfaces\ReCaptchaConfigV3Interface;
10+
use TimeHunter\LaravelGoogleCaptchaV3\Interfaces\RequestClientInterface;
1111
use Illuminate\Support\ServiceProvider;
12-
use \RyanDeng\GoogleReCaptcha\Facades\GoogleReCaptchaV3 as GoogleReCaptchaV3Facade;
13-
use Illuminate\Support\Facades\Blade;
12+
1413
class GoogleReCaptchaV3ServiceProvider extends ServiceProvider
1514
{
1615

src/Validations/GoogleReCaptchaValidationRule.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
* Time: 1:39 PM
77
*/
88

9-
namespace RyanDeng\GoogleReCaptcha\Validations;
9+
namespace TimeHunter\LaravelGoogleCaptchaV3\Validations;
1010

1111

1212
use Illuminate\Contracts\Validation\ImplicitRule;
13+
use \TimeHunter\LaravelGoogleCaptchaV3\Facades\GoogleReCaptchaV3;
1314

14-
use \RyanDeng\GoogleReCaptcha\Facades\GoogleReCaptchaV3;
1515
class GoogleReCaptchaValidationRule implements ImplicitRule
1616
{
1717
protected $action;

0 commit comments

Comments
 (0)