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
Copy file name to clipboardExpand all lines: readme.md
+27-4Lines changed: 27 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,10 +12,6 @@ A Laravel package for [opensoft/rollout](https://github.com/opensoft/rollout)
12
12
composer require jaspaul/laravel-rollout
13
13
```
14
14
15
-
### Setting up a Cache
16
-
17
-
Be sure to [enable the cache](https://laravel.com/docs/5.4/cache) for your Laravel application. This package uses the cache to store the rollout settings.
18
-
19
15
### Configuring the Service Provider
20
16
21
17
Open config/app.php and register the required service provider above your application providers.
@@ -28,6 +24,33 @@ Open config/app.php and register the required service provider above your applic
Be sure to [enable the cache](https://laravel.com/docs/5.4/cache) for your Laravel application. This package uses the cache to store the rollout settings.
38
+
39
+
#### Setting up Persistent Storage
40
+
41
+
##### Running the Migrations
42
+
43
+
```sh
44
+
php artisan migrate
45
+
```
46
+
47
+
##### Configuring your Environment
48
+
49
+
```
50
+
ROLLOUT_STORAGE=database
51
+
ROLLOUT_TABLE=rollout
52
+
```
53
+
31
54
### Implementing Interfaces
32
55
33
56
Your rollout users must implement the `\Jaspaul\LaravelRollout\Helpers\User` interface. Often this will be your main user object:
0 commit comments