File tree 2 files changed +11
-6
lines changed 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,7 @@ IP2Proxy Laravel extension enables the user to query an IP address if it was bei
9
9
10
10
## INSTALLATION
11
11
12
- 1 . Run the command: ` composer require ip2location/ip2proxy-laravel ` to download the package into the Laravel platform.
13
- 2 . Edit ` config/app.php ` and add the below line in 'providers' section:
14
- ` Ip2location\IP2ProxyLaravel\IP2ProxyLaravelServiceProvider::class, `
15
- 3 . Then publish the config file by:
16
- ` php artisan vendor:publish --provider='Ip2location\IP2ProxyLaravel\IP2ProxyLaravelServiceProvider' --force `
12
+ Run the command: ` composer require ip2location/ip2proxy-laravel ` to download the package into the Laravel platform.
17
13
18
14
## USAGE
19
15
Original file line number Diff line number Diff line change 4
4
"license" : " MIT" ,
5
5
"keywords" : [
6
6
" laravel" ,
7
- " laravel 5" ,
7
+ " laravel 6" ,
8
+ " laravel 7" ,
9
+ " laravel 8" ,
8
10
" IP2Proxy" ,
9
11
" proxy"
10
12
],
23
25
"psr-4" : {
24
26
"Ip2location\\ IP2ProxyLaravel\\ " : " src/"
25
27
}
28
+ },
29
+ "extra" : {
30
+ "laravel" : {
31
+ "providers" : [
32
+ " Ip2location\\ IP2ProxyLaravel\\ IP2ProxyLaravelServiceProvider"
33
+ ]
34
+ }
26
35
}
27
36
}
You can’t perform that action at this time.
0 commit comments