Skip to content

Commit

Permalink
Laravel 11.x Compatibility (#23)
Browse files Browse the repository at this point in the history
* Bump dependencies for Laravel 11

* Update GitHub Actions for Laravel 11
  • Loading branch information
laravel-shift authored Apr 24, 2024
1 parent 4e98071 commit 473164f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 13 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
name: tests

on: [push, pull_request]
on:
- push
- pull_request

jobs:
test:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: ["7.4", "8.0", "8.1"]
php: ['7.4', '8.0', '8.1', '8.2']
dependency-version: [prefer-lowest, prefer-stable]

name: P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
Expand Down
24 changes: 13 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,23 @@
],
"homepage": "https://github.com/bensampo/laravel-embed",
"license": "MIT",
"authors": [{
"name": "Ben Sampson",
"homepage": "https://sampo.co.uk",
"role": "Developer"
}],
"authors": [
{
"name": "Ben Sampson",
"homepage": "https://sampo.co.uk",
"role": "Developer"
}
],
"require": {
"php": "^7.4.0|^8.0",
"guzzlehttp/guzzle": "^6.3.1|^7.0",
"illuminate/contracts": "^8.83.27|^9.0|^10.0",
"illuminate/support": "^8.83.27|^9.0|^10.0"
"illuminate/contracts": "^8.83.27|^9.0|^10.0|^11.0",
"illuminate/support": "^8.83.27|^9.0|^10.0|^11.0"
},
"require-dev": {
"laravel/framework": "^8.83.27|^9.0|^10.0",
"orchestra/testbench": "^5.0|^6.0",
"phpunit/phpunit": "^8.5.23|^9.0"
"laravel/framework": "^8.83.27|^9.0|^10.0|^11.0",
"orchestra/testbench": "^5.0|^6.0|^9.0",
"phpunit/phpunit": "^8.5.23|^9.0|^10.5"
},
"autoload": {
"psr-4": {
Expand Down Expand Up @@ -52,4 +54,4 @@
"config": {
"sort-packages": true
}
}
}

0 comments on commit 473164f

Please sign in to comment.