Skip to content
This repository has been archived by the owner on Oct 12, 2024. It is now read-only.

Commit

Permalink
Add Laravel 5.5 and 5.6 support, drop Laravel <= 5.4 (#1)
Browse files Browse the repository at this point in the history
- bump the PHP requirement to 7.0+
- bump Laravel packages to be 5.5.* or 5.6.*
- Update BladeSVG package to 0.2.*
- Drop Laravel <=5.4 support
  • Loading branch information
avvertix authored Jun 23, 2018
1 parent f7c8bc9 commit a408c72
Show file tree
Hide file tree
Showing 8 changed files with 775 additions and 415 deletions.
11 changes: 8 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
language: php

php:
- 5.6
- 7.0
- 7.1

env:
matrix:
- COMPOSER_FLAGS="--prefer-lowest"
- COMPOSER_FLAGS=""

sudo: false

install:
- travis_retry composer install --no-interaction
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist

script: ./vendor/bin/phpunit
script:
- ./vendor/bin/phpunit

notifications:
email:
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ You can install this package via Composer by running this command in your termin
composer require avvertix/materialicons-laravel-bridge
```

## Getting started
#### For Laravel 5.3 or 5.4

**use version 0.1 of the library**

Add the Material Iconset service provider to your `config/app.php` file:

Expand All @@ -32,7 +34,7 @@ return [
];
```

### Configuration
## Configuration

Out of the box the service uses the icons inside the package (under the `assets/icons` folder), but you can
use [another set of icons](#use-another-icon-set).
Expand Down
19 changes: 13 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
}
],
"require": {
"php": ">=5.6.4",
"nothingworks/blade-svg": "0.1.*",
"illuminate/support": "^5.3",
"illuminate/filesystem": "^5.3"
"php": ">=7.0",
"nothingworks/blade-svg": "0.2.*",
"illuminate/support": "~5.5.0|~5.6.0",
"illuminate/filesystem": "~5.5.0|~5.6.0"
},

"autoload": {
Expand All @@ -25,7 +25,14 @@
]
},
"require-dev": {
"phpunit/phpunit": "^5.5",
"mockery/mockery": "^0.9.5"
"phpunit/phpunit": "^6.5|^7.0",
"mockery/mockery": "^1.1.0"
},
"extra": {
"laravel": {
"providers": [
"MaterialIcons\\MaterialIconsBridgeServiceProvider"
]
}
}
}
Loading

0 comments on commit a408c72

Please sign in to comment.