Skip to content
This repository was archived by the owner on Apr 13, 2022. It is now read-only.

Commit 616171a

Browse files
Support Laravel 8
1 parent 8c19083 commit 616171a

File tree

3 files changed

+17
-5
lines changed

3 files changed

+17
-5
lines changed

.github/workflows/tests.yml

+13-1
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,16 @@ jobs:
1212
strategy:
1313
matrix:
1414
php: ['7.1', '7.2', '7.3', '7.4']
15-
laravel: ['5.5', '5.6', '5.7', '5.8', '6', '7']
15+
laravel: ['5.5', '5.6', '5.7', '5.8', '6', '7', '8']
1616
exclude:
1717
- php: '7.1'
1818
laravel: '6'
1919
- php: '7.1'
2020
laravel: '7'
21+
- php: '7.1'
22+
laravel: '8'
23+
- php: '7.2'
24+
laravel: '8'
2125

2226
steps:
2327
- name: Checkout Code
@@ -81,6 +85,14 @@ jobs:
8185
command: composer require "laravel/framework:7.*" "phpunit/phpunit:^8.5|^9.0" --no-update --no-interaction
8286
if: "matrix.laravel == '7'"
8387

88+
- name: Select Laravel 8
89+
uses: nick-invision/retry@v1
90+
with:
91+
timeout_minutes: 5
92+
max_attempts: 5
93+
command: composer require "laravel/framework:8.*" "phpunit/phpunit:^9.3" --no-update --no-interaction
94+
if: "matrix.laravel == '8'"
95+
8496
- name: Install Dependencies
8597
uses: nick-invision/retry@v1
8698
with:

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
## Installation
1313

14-
Alt Three Segment is a [Segment](https://segment.com/) bridge for Laravel. This version requires [PHP](https://php.net) 7.1-7.4, and supports Laravel 5.5-7. Simply require the package using [Composer](https://getcomposer.org):
14+
Alt Three Segment is a [Segment](https://segment.com/) bridge for Laravel. This version requires [PHP](https://php.net) 7.1-7.4, and supports Laravel 5.5-8. Simply require the package using [Composer](https://getcomposer.org):
1515

1616
```bash
1717
$ composer require alt-three/segment:^3.5

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
],
1212
"require": {
1313
"php": "^7.1.3",
14-
"illuminate/config": "^5.5 || ^6.0 || ^7.0",
15-
"illuminate/support": "^5.5 || ^6.0 || ^7.0",
14+
"illuminate/config": "^5.5 || ^6.0 || ^7.0 || ^8.0",
15+
"illuminate/support": "^5.5 || ^6.0 || ^7.0 || ^8.0",
1616
"segmentio/analytics-php": "~1.5.2"
1717
},
1818
"require-dev": {
1919
"graham-campbell/analyzer": "^2.4 || ^3.0",
20-
"graham-campbell/testbench": "^5.4",
20+
"graham-campbell/testbench": "^5.5",
2121
"phpunit/phpunit": "^6.5 || ^7.5 || ^8.4 || ^9.0"
2222
},
2323
"autoload": {

0 commit comments

Comments
 (0)