Skip to content

Commit bdd7d67

Browse files
committed
Merge branch 'release/1.0.1'
2 parents b493993 + 263bec8 commit bdd7d67

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.0
1+
1.0.1

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.5.0",
19+
"php": ">=5.5.9",
2020
"illuminate/cache": "5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*",
2121
"illuminate/routing": "5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*",
2222
"illuminate/support": "5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*",
2323
"mobiledetect/mobiledetectlib": "~2.8",
24-
"ua-parser/uap-php": "~3.4.1"
24+
"ua-parser/uap-php": "~3.5"
2525
},
2626
"require-dev": {
2727
"illuminate/http": "5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*",

readme.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![Latest Stable Version](https://poser.pugx.org/spinen/laravel-browser-filter/v/stable)](https://packagist.org/packages/spinen/laravel-browser-filter)
44
[![Total Downloads](https://poser.pugx.org/spinen/laravel-browser-filter/downloads)](https://packagist.org/packages/spinen/laravel-browser-filter)
55
[![Latest Unstable Version](https://poser.pugx.org/spinen/laravel-browser-filter/v/unstable)](https://packagist.org/packages/spinen/laravel-browser-filter)
6-
[![Dependency Status](https://www.versioneye.com/php/spinen:laravel-browser-filter/0.1.1/badge.svg)](https://www.versioneye.com/php/spinen:laravel-browser-filter/0.1.1)
6+
[![Dependency Status](https://gemnasium.com/spinen/laravel-browser-filter.svg)](https://gemnasium.com/spinen/laravel-browser-filter)
77
[![License](https://poser.pugx.org/spinen/laravel-browser-filter/license)](https://packagist.org/packages/spinen/laravel-browser-filter)
88

99
This is a Laravel 5 middleware to filter routes based on browser types.
@@ -34,7 +34,7 @@ $ composer require spinen/laravel-browser-filter
3434

3535
### For >= Laravel 5.5, you are done with the Install
3636

37-
The package uses the auto registration feature
37+
The package uses the auto registration feature.
3838

3939
### For < Laravel 5.5, you have to register the Service Provider
4040

@@ -61,7 +61,7 @@ Register the HTTP Stack Middleware in file `app/Http/Kernel.php`:
6161
\Spinen\BrowserFilter\Stack\Filter::class,
6262
```
6363

64-
### Laravel 5.2, 5.3, 5.4 & 5.5
64+
### Laravel 5.2 - 5.6
6565

6666
Register the HTTP Stack Middleware for the web group in file `app/Http/Kernel.php`:
6767

@@ -103,15 +103,15 @@ $ php artisan vendor:publish --provider="Spinen\BrowserFilter\FilterServiceProvi
103103
This file is fully documented, so please read it to know how to configure the middleware. There are 4 top level items that you can configure...
104104

105105
1. type - The type of filtering strategy to apply to the stack filter
106-
2. rules - The array of devices/browsers/versions to allow/block for *ALL* http request
106+
2. rules - The array of devices/browsers/versions to allow or block for *ALL* http requests
107107
3. route - The name of the route to redirect the user if they are using a blocked client
108-
4. timeout - The length of time to cache the client, where "0" disables the cache
108+
4. timeout - The length of time to cache the client data, where "0" disables the cache
109109

110110
## Using the Route middleware
111111

112-
The route middleware using the same configuration file as the stack middleware, but ignores the rules.
112+
The route middleware uses the same configuration file as the stack middleware, but ignores the rules.
113113

114-
The rules are passed in after the ':' behind the router filter that you wish to use...
114+
The rules are passed in after the ':' behind the route filter that you wish to use...
115115

116116
```php
117117
Route::get('tablet_page', [

0 commit comments

Comments
 (0)