File tree Expand file tree Collapse file tree 11 files changed +34
-36
lines changed Expand file tree Collapse file tree 11 files changed +34
-36
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " ryandeng/googlerecaptcha " ,
2
+ "name" : " timehunter/laravel-google-recaptcha-v3 " ,
3
3
"description" : " Laravel 5.x library for reCAPTCHA v3" ,
4
4
"license" : " MIT" ,
5
5
"authors" : [
13
13
"keywords" : [
14
14
" Laravel" ,
15
15
" GoogleReCaptcha" ,
16
+ " Google reCAPTCHA" ,
17
+ " google recaptcha v3" ,
16
18
" reCAPTCHA v3" ,
17
19
" Laravel reCAPTCHA"
18
20
],
19
21
"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"
25
24
},
26
25
"require-dev" : {
27
26
"phpunit/phpunit" : " ~7.0" ,
31
30
},
32
31
"autoload" : {
33
32
"psr-4" : {
34
- "RyanDeng \\ GoogleReCaptcha \\ " : " src/"
33
+ "TimeHunter \\ LaravelGoogleCaptchaV3 \\ " : " src/"
35
34
}
36
35
},
37
36
"autoload-dev" : {
38
37
"psr-4" : {
39
- "RyanDeng \\ GoogleReCaptcha \\ Tests\\ " : " tests"
38
+ "TimeHunter \\ LaravelGoogleCaptchaV3 \\ Tests\\ " : " tests"
40
39
}
41
40
},
42
41
"extra" : {
43
42
"laravel" : {
44
43
"providers" : [
45
- " RyanDeng \\ GoogleReCaptcha \\ Providers\\ GoogleReCaptchaV3ServiceProvider"
44
+ " TimeHunter \\ LaravelGoogleCaptchaV3 \\ Providers\\ GoogleReCaptchaV3ServiceProvider"
46
45
],
47
46
"aliases" : {
48
- "GoogleReCaptchaV3" : " RyanDeng \\ GoogleReCaptcha \\ Facades\\ GoogleReCaptchaV3"
47
+ "GoogleReCaptchaV3" : " TimeHunter \\ LaravelGoogleCaptchaV3 \\ Facades\\ GoogleReCaptchaV3"
49
48
}
50
49
}
51
50
}
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- namespace RyanDeng \ GoogleReCaptcha \Configurations ;
3
+ namespace TimeHunter \ LaravelGoogleCaptchaV3 \Configurations ;
4
4
5
5
6
- use RyanDeng \ GoogleReCaptcha \Interfaces \ReCaptchaConfigV3Interface ;
6
+ use TimeHunter \ LaravelGoogleCaptchaV3 \Interfaces \ReCaptchaConfigV3Interface ;
7
7
8
8
class ReCaptchaConfigV3 implements ReCaptchaConfigV3Interface
9
9
{
Original file line number Diff line number Diff line change 6
6
* Time: 下午7:24
7
7
*/
8
8
9
- namespace RyanDeng \ GoogleReCaptcha \Core ;
9
+ namespace TimeHunter \ LaravelGoogleCaptchaV3 \Core ;
10
10
11
11
12
- use RyanDeng \ GoogleReCaptcha \Interfaces \RequestClientInterface ;
12
+ use TimeHunter \ LaravelGoogleCaptchaV3 \Interfaces \RequestClientInterface ;
13
13
14
14
class CurlRequestClient implements RequestClientInterface
15
15
{
Original file line number Diff line number Diff line change 6
6
* Time: 下午11:46
7
7
*/
8
8
9
- namespace RyanDeng \ GoogleReCaptcha \Core ;
9
+ namespace TimeHunter \ LaravelGoogleCaptchaV3 \Core ;
10
10
11
11
12
12
use Carbon \Carbon ;
Original file line number Diff line number Diff line change 6
6
* Time: 下午7:24
7
7
*/
8
8
9
- namespace RyanDeng \ GoogleReCaptcha \Core ;
9
+ namespace TimeHunter \ LaravelGoogleCaptchaV3 \Core ;
10
10
11
11
12
12
use GuzzleHttp \Exception \ClientException ;
13
- use RyanDeng \ GoogleReCaptcha \Interfaces \RequestClientInterface ;
13
+ use TimeHunter \ LaravelGoogleCaptchaV3 \Interfaces \RequestClientInterface ;
14
14
use GuzzleHttp \Client ;
15
15
16
16
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- namespace RyanDeng \ GoogleReCaptcha \Facades ;
3
+ namespace TimeHunter \ LaravelGoogleCaptchaV3 \Facades ;
4
4
5
5
use Illuminate \Support \Facades \Facade ;
6
- use RyanDeng \ GoogleReCaptcha \Core \GoogleReCaptchaV3Response ;
6
+ use TimeHunter \ LaravelGoogleCaptchaV3 \Core \GoogleReCaptchaV3Response ;
7
7
8
8
/**
9
9
* @method static GoogleReCaptchaV3Response verifyResponse(array $data)
10
- * @method static \RyanDeng\GoogleReCaptcha \GoogleReCaptchaV3 setAction(string $value)
10
+ * @method static \TimeHunter\LaravelGoogleCaptchaV3 \GoogleReCaptchaV3 setAction(string $value)
11
11
* @method static render($action)
12
12
* @see ReCaptcha
13
13
*/
Original file line number Diff line number Diff line change 6
6
* Time: 5:29 PM
7
7
*/
8
8
9
- namespace RyanDeng \ GoogleReCaptcha ;
9
+ namespace TimeHunter \ LaravelGoogleCaptchaV3 ;
10
10
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 ;
14
14
15
15
class GoogleReCaptchaV3
16
16
{
Original file line number Diff line number Diff line change 6
6
* Time: 5:29 PM
7
7
*/
8
8
9
- namespace RyanDeng \ GoogleReCaptcha \Interfaces ;
9
+ namespace TimeHunter \ LaravelGoogleCaptchaV3 \Interfaces ;
10
10
11
11
12
12
interface ReCaptchaConfigV3Interface
Original file line number Diff line number Diff line change 6
6
* Time: 5:29 PM
7
7
*/
8
8
9
- namespace RyanDeng \ GoogleReCaptcha \Interfaces ;
9
+ namespace TimeHunter \ LaravelGoogleCaptchaV3 \Interfaces ;
10
10
11
11
12
12
interface RequestClientInterface
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- namespace RyanDeng \ GoogleReCaptcha \Providers ;
3
+ namespace TimeHunter \ LaravelGoogleCaptchaV3 \Providers ;
4
4
5
5
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 ;
11
11
use Illuminate \Support \ServiceProvider ;
12
- use \RyanDeng \GoogleReCaptcha \Facades \GoogleReCaptchaV3 as GoogleReCaptchaV3Facade ;
13
- use Illuminate \Support \Facades \Blade ;
12
+
14
13
class GoogleReCaptchaV3ServiceProvider extends ServiceProvider
15
14
{
16
15
Original file line number Diff line number Diff line change 6
6
* Time: 1:39 PM
7
7
*/
8
8
9
- namespace RyanDeng \ GoogleReCaptcha \Validations ;
9
+ namespace TimeHunter \ LaravelGoogleCaptchaV3 \Validations ;
10
10
11
11
12
12
use Illuminate \Contracts \Validation \ImplicitRule ;
13
+ use \TimeHunter \LaravelGoogleCaptchaV3 \Facades \GoogleReCaptchaV3 ;
13
14
14
- use \RyanDeng \GoogleReCaptcha \Facades \GoogleReCaptchaV3 ;
15
15
class GoogleReCaptchaValidationRule implements ImplicitRule
16
16
{
17
17
protected $ action ;
You can’t perform that action at this time.
0 commit comments