Skip to content

Commit

Permalink
Compatibility with Laravel 7
Browse files Browse the repository at this point in the history
For a future 3.0 version.
  • Loading branch information
tonyyb authored Apr 8, 2020
2 parents be517ba + fbd49bd commit adecc21
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
language: php

php:
- 7.2
- 7.3
- 7.4

sudo: false

Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ This package contains some useful Artisan commands.

## Requirements

This version is compatible with Laravel >= 6.0.
This version is compatible with Laravel 7.0 and PHP >= 7.3.

For Laravel >= 6.0 and < 7.0 please use 2.* version.

For Laravel >= 5.7 and < 6.0 please use 1.* version.

Expand All @@ -19,7 +21,7 @@ For Laravel >=5.5.0 and < 5.7 please use 0.3 version.
In your terminal:

```sh
composer install novius/laravel-artisan-commands "^2.0"
composer install novius/laravel-artisan-commands
```

Then, if you are on Laravel 5.4 (no need for Laravel 5.5 and higher), register the service provider to your `config/app.php` file:
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
}
],
"require": {
"php": "^7.2",
"laravel/framework": "~6.0"
"php": "^7.3",
"laravel/framework": "~7.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "~2.8.0",
"friendsofphp/php-cs-fixer": "^2.16.1",
"phpunit/phpunit": "^8.0",
"orchestra/testbench": "~3.9"
"orchestra/testbench": "~5.1.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit adecc21

Please sign in to comment.