Skip to content

Commit

Permalink
Add support for Laravel 5.2 projects
Browse files Browse the repository at this point in the history
Update the minimum required php version to 5.6
  • Loading branch information
ArjanSchouten committed Feb 2, 2016
1 parent b709a2d commit a069922
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 15 deletions.
6 changes: 0 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: php

php:
- 5.5
- 5.6
- 7.0
- hhvm
Expand All @@ -11,11 +10,6 @@ cache:
- $HOME/.composer/cache
- vendor

matrix:
allow_failures:
- php: 7.0
fast_finish: true

sudo: false

before_install:
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ Html Minification can be extremely powerfull and can reduce the size of you're w
## Installation (Couldn't be easier!)
Let composer do the hard work for us!
```php
composer require arjanschouten/htmlminifier dev-master
composer require arjanschouten/htmlminifier
```
#### Laravel 5.1
With Laravel 5.1 you've to register the service provider in the ```config/app.php``` file and add it to the providers array:
#### Laravel 5.1 and Laravel 5.2
With Laravel 5 you've to register the service provider in the ```config/app.php``` file and add it to the providers array:
```php
ArjanSchouten\HtmlMinifier\Laravel\HtmlMinifierServiceProvider::class
```

#### Lumen
#### Lumen 5
With Lumen you've to register the service provider in the ```bootstrap/app.php``` file and add the following line:
```php
$app->register(ArjanSchouten\HtmlMinifier\Laravel\HtmlMinifierServiceProvider::class);
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
}
],
"require": {
"php": ">=5.5",
"illuminate/contracts": "5.1.*",
"illuminate/filesystem": "5.1.*",
"illuminate/support": "5.1.*",
"illuminate/console": "5.1.*"
"php": ">=5.6",
"illuminate/contracts": "5.1.*|5.2.*",
"illuminate/filesystem": "5.1.*|5.2.*",
"illuminate/support": "5.1.*|5.2.*",
"illuminate/console": "5.1.*|5.2.*"
},
"require-dev": {
"mockery/mockery": "~0.9",
Expand Down

0 comments on commit a069922

Please sign in to comment.