File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
# Breadcrumb for Laravel 5
2
2
3
- This package provide simple way to filter by IP addresses for your Laravel 5 application.
3
+ This package provide simple way to filter user access by IP addresses for your Laravel 5 application.
4
4
5
5
## Install
6
6
@@ -20,13 +20,13 @@ Laravel 5.5+ automaticly register service provider and set Alias thanks to auto-
20
20
21
21
## Usage
22
22
23
- Export filter for IpFilter
23
+ Export filter config.
24
24
25
25
``` terminal
26
26
php artisan vendor:publish --provider="Mares29\IpFilter\FilterIpServiceProvider"
27
27
```
28
28
29
- Use one ** black list** or ** white list** . For example, allow acces only from ip address * 127.0.0.1* .
29
+ Use one of ** black list** or ** white list** method . For example, allow acces only from ip address * 127.0.0.1* .
30
30
31
31
``` php
32
32
// White list - List of allowed IP addresses
@@ -38,7 +38,7 @@ Use one **black list** or **white list**. For example, allow acces only from ip
38
38
'denied' => [],
39
39
```
40
40
41
- Add middleware for Yours all web routes.
41
+ Add middleware for all Your web routes.
42
42
43
43
``` php
44
44
protected function mapWebRoutes()
@@ -49,7 +49,7 @@ protected function mapWebRoutes()
49
49
->group(base_path('routes/web.php'));
50
50
}
51
51
```
52
- or just for specific routes
52
+ Or just for specific routes.
53
53
54
54
``` php
55
55
Route::get('/', function () {
You can’t perform that action at this time.
0 commit comments