Skip to content

Commit

Permalink
Merge pull request #18 from njoguamos/support-laravel-11
Browse files Browse the repository at this point in the history
Support Laravel 11
  • Loading branch information
njoguamos authored Apr 7, 2024
2 parents df618ef + d472af7 commit 8747ef0
Show file tree
Hide file tree
Showing 4 changed files with 2,213 additions and 1,383 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,28 @@
name: run-tests

on:
push:
branches: [main]
pull_request:
branches: [main]
on: pull_request

jobs:
test:
runs-on: ubuntu-latest

timeout-minutes: 7
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [ 8.1, 8.2 ]
laravel: [ 10.* ]
stability: [prefer-stable]
os: [ ubuntu-latest, windows-latest ]
php: [ 8.3, 8.2, 8.1 ]
laravel: [ 10.*, 11.* ]
stability: [ prefer-stable ]
include:
- laravel: 10.*
testbench: 8.*
carbon: ^2.63
carbon: ^2.72.3
- laravel: 11.*
testbench: 9.*
carbon: ^2.72.3
exclude:
- laravel: 11.*
php: 8.1

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}

Expand Down
20 changes: 10 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
"description": "A laravel package for interacting with plausible analytics api.",
"keywords": [
"NjoguAmos",
"laravel",
"laravel-plausible"
"Laravel",
"Plausible",
"Analytics"
],
"homepage": "https://github.com/njoguamos/laravel-plausible",
"license": "MIT",
Expand All @@ -16,19 +17,18 @@
}
],
"require": {
"php": "^8.1 | ^8.2",
"php": "^8.1 | ^8.2 | ^8.3",
"guzzlehttp/guzzle": "^7.5",
"illuminate/contracts": "^10.0",
"illuminate/support": "^10.0",
"sammyjo20/saloon-cache-plugin": "^2.0",
"sammyjo20/saloon-laravel": "^2.0",
"spatie/laravel-package-tools": "^1.14.0"
"illuminate/contracts": "^10.0 | ^11.0",
"sammyjo20/saloon-cache-plugin": "^3.0",
"sammyjo20/saloon-laravel": "^3.5",
"spatie/laravel-package-tools": "^1.16"
},
"require-dev": {
"laravel/pint": "^1.0",
"nunomaduro/collision": "^7.9",
"nunomaduro/collision": "^v7.10 | ^v8.1",
"nunomaduro/larastan": "^2.0.1",
"orchestra/testbench": "^8.0",
"orchestra/testbench": "^8.22 | ^9.0",
"pestphp/pest": "^2.0",
"pestphp/pest-plugin-arch": "^2.0",
"pestphp/pest-plugin-laravel": "^2.0",
Expand Down
Loading

0 comments on commit 8747ef0

Please sign in to comment.