Skip to content

Commit 38d1a82

Browse files
author
Karel Mareš
authored
Update README.md
1 parent 693eb49 commit 38d1a82

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ Export filter config.
2626
php artisan vendor:publish --provider="Mares29\IpFilter\FilterIpServiceProvider"
2727
```
2828

29+
By default the filter is active only on **production** environment, but you can specify Your own settings in config file.
30+
31+
``` php
32+
// Env - only use filter on listed environments
33+
'env' => ['production'],
34+
```
35+
36+
2937
Use one of **black list** or **white list** method. For example, allow acces only from ip address *127.0.0.1*.
3038

3139
``` php

0 commit comments

Comments
 (0)