Skip to content

Commit

Permalink
feat: laravel 8 support (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
atymic authored Sep 9, 2020
1 parent 30fa525 commit d3e51cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
Laravel has built-in casting for `date` & `datetime` types, but if you want to use ISO 8061 durations with the native
`DateInterval` class, or Carbon's `CarbonInterval` you're out of luck.

This package provides two custom casts (for `DateInterval` and `CarbonInterval` respectively) using Laravel 7.x's custom
This package provides two custom casts (for `DateInterval` and `CarbonInterval` respectively) using Laravel 7.x/8.x's custom
casts feature.

## Installation
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
"homepage": "https://github.com/atymic/laravel-dateinterval-cast",
"require": {
"php": "^7.3",
"laravel/framework": "^7.0"
"laravel/framework": "^7.0 || ^8.0"
},
"require-dev": {
"phpunit/phpunit": "^9.0",
"orchestra/testbench": "^5.0",
"orchestra/testbench": "^5.0 || ^6.0",
"phpstan/phpstan": "^0.12.9"
},
"minimum-stability": "dev",
Expand Down

0 comments on commit d3e51cb

Please sign in to comment.