diff --git a/.travis.yml b/.travis.yml index e7af52a..6fa6482 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,5 @@ language: php +dist: trusty php: - '5.4' @@ -6,7 +7,6 @@ php: - '5.6' - '7.0' - '7.1' - - '7.2' before_script: composer install script: composer tests diff --git a/README.md b/README.md index 8500c2f..a0ad354 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,12 @@ Include this package via Composer: composer require gmsantos/inspiring ``` +### Laravel 6 support + +Version 2.2 adds support for Laravel 6+ as a migration path only. I do not guaratee that everything works in newer PHP versions because Travis CI tests fails in newer versions if I keep backawrds compatibility with Laravel 5. + +I recommed to upgrade to version 3+ of this package for Laravel 6+ and PHP 7.2+ support. + ### Laravel 5.3+ In Laravel 5.3, `app/Console/Commands/Inspire.php` has moved to `routes/console.php` clousure command. diff --git a/composer.json b/composer.json index 0439402..16a0843 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ ], "require": { "php": ">=5.4.0", - "illuminate/support": "^5" + "illuminate/support": "^5 || ^6" }, "autoload": { "psr-4": { @@ -19,7 +19,7 @@ } }, "require-dev": { - "phpunit/phpunit": "^4.8 || ^5.7 || ^6.4" + "phpunit/phpunit": "^4.8 || ^6.4 || ^8.5" }, "autoload-dev": { "psr-4": { @@ -33,7 +33,7 @@ }, "extra": { "branch-alias": { - "dev-master": "2.1.x-dev" + "dev-master": "2.2.x-dev" } } }