Skip to content

Commit

Permalink
Add PHP 8.0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
f9web committed Dec 30, 2020
1 parent 74b3126 commit 2d52ea7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -4,6 +4,7 @@ php:
- 7.2
- 7.3
- 7.4
- 8.0

env:
matrix:
Expand All @@ -16,6 +17,7 @@ matrix:
exclude:
# Unsupported combinations
- { env: Laravel=8.x, php: 7.2 }
- { env: Laravel=5.8.x, php: 8.0 }

install:
- travis_retry composer require --dev "laravel/framework:${Laravel}" --no-interaction
Expand Down
19 changes: 10 additions & 9 deletions README.md
Expand Up @@ -13,15 +13,16 @@ Easily render meta tags within your Laravel application, using a fluent API

## Features

* Simple API
* Laravel `>=5.8 | 6.x | 7.x | 8.x` supported
* Render named, property type, raw, Twitter card and OpenGraph tags
* [Optionally, render default tags on every request](#default-tags)
* [Conditionally set tags](#conditionally-setting-tags)
* [Macroable](#macroable-support)
* There is no need to set meta titles for every controller method. The package can [optionally guess titles based on uri](#meta-title) segments or the current named route
* Well documented
* Tested, with 100% code coverage
- Simple API
- Laravel `>=5.8 | 6.x | 7.x | 8.x` supported
- `PHP ^8.0` is supported for Laravel >= 6x
- Render named, property, raw, Twitter card and OpenGraph type meta tags
- [Optionally, render default tags on every request](#default-tags)
- [Conditionally set tags](#conditionally-setting-tags)
- [Macroable](#macroable-support)
- There is no need to set meta titles for every controller method. The package can [optionally guess titles based on uri](#meta-title) segments or the current named route
- Well documented
- Tested, with 100% code coverage

## Requirements

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Expand Up @@ -22,13 +22,13 @@
}
],
"require": {
"php": "^7.2",
"php": "^7.2 | ^8.0",
"illuminate/config": "5.8.* || ^6.0 || ^7.0 || ^8.0",
"illuminate/support": "5.8.* || ^6.0 || ^7.0 || ^8.0"
},
"require-dev": {
"orchestra/testbench": ">=3.8",
"phpunit/phpunit": "^7.0|^8.0"
"phpunit/phpunit": "^7.0|^8.0|^9.3"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 2d52ea7

Please sign in to comment.