Skip to content

Commit

Permalink
docs: add more info about Laravel PSR-16 conformity
Browse files Browse the repository at this point in the history
  • Loading branch information
kslimani committed Oct 10, 2019
1 parent 84bd211 commit 83bc8d7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -17,13 +17,13 @@ $ composer require php-http/curl-client nyholm/psr7 php-http/message florianv/la

### Laravel 5.7 or lesser

If you use cache, add also cache adapter dependencies :
If you use cache, add also PSR-6 adapter and PSR-16 bridge cache dependencies :

```bash
$ composer require cache/illuminate-adapter cache/simple-cache-bridge
```

These dependencies are not required with Laravel 5.8 or greater.
These dependencies are not required with Laravel 5.8 or greater which [implements PSR-16](https://github.com/laravel/framework/pull/27217).

### Laravel 5.5+

Expand Down
10 changes: 10 additions & 0 deletions doc/readme.md
Expand Up @@ -56,6 +56,16 @@ Copy the package config to your local config with the publish command:
$ php artisan vendor:publish --provider="Swap\Laravel\SwapServiceProvider"
```

__Laravel 5.7 or lesser :__

If you use cache, add also PSR-6 adapter and PSR-16 bridge cache dependencies :

```bash
$ composer require cache/illuminate-adapter cache/simple-cache-bridge
```

These dependencies are not required with Laravel 5.8 or greater which [implements PSR-16](https://github.com/laravel/framework/pull/27217).

### Lumen

Configure the Service Provider and alias:
Expand Down

0 comments on commit 83bc8d7

Please sign in to comment.