Skip to content

Commit 11e85f8

Browse files
author
Aidyn Makhataev
committed
update readme
1 parent 106bf15 commit 11e85f8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,17 @@ Via Composer
1515
composer require aidynmakhataev/laravel-tarantool-session
1616
```
1717

18+
Laravel uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.
19+
20+
### Laravel without auto-discovery:
21+
22+
If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php
23+
24+
```php
25+
\AidynMakhataev\Tarantool\Session\SessionServiceProvider::class
26+
```
27+
### Change session driver
28+
1829
Change the session driver in `config/session.php` to tarantool:
1930

2031
'driver' => 'tarantool',

0 commit comments

Comments
 (0)