diff --git a/CHANGELOG.md b/CHANGELOG.md index 83c6241..248ced1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,4 +3,7 @@ CHANGELOG This changelog contains all notable change of the laravel-review-rateable package -6-19-2019 - Added Laravel 5.8 support \ No newline at end of file +6-19-2019 - Added Laravel 5.8 support + +9-05-2019 - Added Laravel 6.0 support + diff --git a/README.md b/README.md index 2888648..f633a1f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Laravel Review Rateable -Review Rateable system for laravel 5. You can rate your models by: +Review Rateable system for laravel 5. and 6. You can rate your models by: - Overall Rating - Customer Service Rating - Quality Rating @@ -60,7 +60,7 @@ $user = User::first(); $post = Post::first(); $rating = $post->rating([ - title' => 'This is a test title', + 'title' => 'This is a test title', 'body' => 'And we will add some shit here', 'customer_service_rating' => 5, 'quality_rating' => 5, diff --git a/composer.json b/composer.json index 92772fe..0dee38d 100644 --- a/composer.json +++ b/composer.json @@ -11,13 +11,13 @@ ], "minimum-stability": "dev", "require": { - "php" : "^7.1", - "illuminate/database": "~5.5.0|~5.6.0|~5.7.0|~5.8.0", - "illuminate/support": "~5.5.0|~5.6.0|~5.7.0|~5.8.0" + "php" : "^7.2", + "illuminate/database": "~5.5.0|~5.6.0|~5.7.0|~5.8.0|~6.0.0", + "illuminate/support": "~5.5.0|~5.6.0|~5.7.0|~5.8.0|~6.0.0" }, "require-dev": { - "phpunit/phpunit": "^6.3|^7.0", - "orchestra/testbench": "~3.5.0|~3.6.0" + "phpunit/phpunit": "^6.3|^7.0|^8.0", + "orchestra/testbench": "~3.5.0|~3.6.0|^4.0" }, "autoload": { "psr-4": {