Skip to content

Commit

Permalink
Larvel 7 support
Browse files Browse the repository at this point in the history
  • Loading branch information
vedmant committed Apr 30, 2020
1 parent 8be228a commit d5be0eb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,22 @@ php:
- 7.1
- 7.2
- 7.3
- 7.4

env:
- ILLUMINATE_VERSION=5.6.* PHPUNIT_VERSION=~7.0 TESTBENCH_VERSION=3.6
- ILLUMINATE_VERSION=5.7.* PHPUNIT_VERSION=~7.0 TESTBENCH_VERSION=3.7
- ILLUMINATE_VERSION=5.8.* PHPUNIT_VERSION=~7.0 TESTBENCH_VERSION=3.8
- ILLUMINATE_VERSION=^6.0 PHPUNIT_VERSION=~8.0 TESTBENCH_VERSION=^4.0
- ILLUMINATE_VERSION=^7.0 PHPUNIT_VERSION=~8.0 TESTBENCH_VERSION=^5.0

matrix:
fast_finish: true
exclude:
- php: 7.1
env: ILLUMINATE_VERSION=^6.0 PHPUNIT_VERSION=~8.0 TESTBENCH_VERSION=^4.0
- php: 7.1
env: ILLUMINATE_VERSION=^7.0 PHPUNIT_VERSION=~8.0 TESTBENCH_VERSION=^5.0

before_install:
- composer require "illuminate/support:${ILLUMINATE_VERSION}" --no-update --prefer-dist
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"homepage": "https://github.com/vedmant/laravel-shortcodes",
"keywords": ["Laravel", "Shortcodes"],
"require": {
"php": "^7.0.0",
"illuminate/contracts": "~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0",
"illuminate/view": "~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0",
"illuminate/support": "~5.5.0|~5.6.0|~5.7.0|~5.8.0|^6.0"
"php": ">=7.0.0",
"illuminate/contracts": ">=5.5.0",
"illuminate/view": ">=5.5.0",
"illuminate/support": ">=5.5.0"
},
"require-dev": {
"phpunit/phpunit": "^8",
Expand Down
6 changes: 0 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ Via Composer
$ composer require vedmant/laravel-shortcodes
```

This package supports [Laravel Auto-Discovery](https://laravel.com/docs/master/packages#package-discovery) and will be discovered automatically.

For Laravel versions prior to 5.5 please add `Vedmant\LaravelShortcodes\LaravelShortcodesServiceProvider::class` to the providers array in `config/app.php`
and `'Shortcodes' => Vedmant\LaravelShortcodes\Facades\Shortcodes::class` to the aliases array.


## Configuraton

Publish configuration.
Expand Down

0 comments on commit d5be0eb

Please sign in to comment.