Skip to content

Commit 3397922

Browse files
authored
Update README.md
1 parent deed2bb commit 3397922

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,24 @@ You'll need an IPinfo API access token, which you can get by singing up for a fr
1414

1515
The free plan is limited to 50,000 requests per month, and doesn't include some of the data fields such as IP type and company data. To enable all the data fields and additional request volumes see [https://ipinfo.io/pricing](https://ipinfo.io/pricing).
1616

17-
> **Getting errors when installing into a fresh Laravel 9 App?**
18-
> We are using sabre/cache in our php library and sabre/cache uses psr/simple-cache:1
19-
>The laravel framework is using psr/simple-cache:3 by default but it supports 1.0 || 2.0 || 3.0 as well. So when you create a fresh laravel project it locks the psr/simple-cache version to 3 in composer.lock file.
20-
>**The simple solution for this is to change the psr-simple-cache version in composer.lock or just remove the lock file and install our package and composer will automatically create a new lock file with required versions.**
2117

2218
#### Installation
2319

2420
```
2521
composer require ipinfo/ipinfolaravel
2622
```
2723

24+
> **Note**
25+
>
26+
> If you are getting errors installing the package into a freash Laravel 9 project, you can change the psr-simple cache version in composer.lock or just remove the lock file and install our package and composer will automatically create a new lock file with required versions.
27+
>
28+
>We are using sabre/cache in our php library and sabre/cache uses psr/simple-cache:1
29+
>The laravel framework is using psr/simple-cache:3 by default but it supports 1.0 || 2.0 || 3.0 as well. So when you create a fresh laravel project it locks the psr/simple-cache version to 3 in composer.lock file.
30+
31+
32+
33+
34+
2835
Open your application's `\app\Http\Kernel.php` file and add the following to the `Kernel::middleware` property:
2936

3037
```php

0 commit comments

Comments
 (0)