You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -26,7 +26,7 @@ Install via composer - edit your `composer.json` to require the package.
26
26
27
27
```js
28
28
"require": {
29
-
"pulkitjalan/geoip":"1.*"
29
+
"pulkitjalan/geoip":"2.*"
30
30
}
31
31
```
32
32
@@ -48,11 +48,11 @@ Next add the following to the `aliases` array in your `config/app.php`
48
48
'GeoIP' => 'PulkitJalan\GeoIP\Facades\GeoIP'
49
49
```
50
50
51
-
Next run `php artisan config:publish pulkitjalan/geoip` to publish the config file.
51
+
Next run `php artisan vendor:publish --provider="pulkitjalan\geoip\GeoIPServiceProvider" --tag="config"` to publish the config file.
52
52
53
-
#### Looking for a Laravel 5 compatible version?
53
+
#### Looking for a Laravel 4 compatible version?
54
54
55
-
Checkout the [master branch](https://github.com/pulkitjalan/geoip/tree/master)
55
+
Checkout the [1.0 branch](https://github.com/pulkitjalan/geoip/tree/1.0)
56
56
57
57
## Usage
58
58
@@ -130,7 +130,7 @@ $config = [
130
130
131
131
### Laravel
132
132
133
-
To use this package in Laravel, simply update the config file in `config/packages/pulkitjalan/geoip/config.php` to get the same effect.
133
+
To use this package in Laravel, simply update the config file in `config/geoip.php` to get the same effect. The driver can be set using the `GEOIP_DRIVER` env.
0 commit comments