Skip to content

Commit

Permalink
Support for PHP 8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalbaljet authored Dec 9, 2022
2 parents ade3843 + 89f70ea commit 98a64e8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,12 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [8.1, 8.0]
laravel: [9.*, 8.*]
php: [8.2, 8.1, 8.0]
laravel: [9.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 9.*
testbench: ^7.0
- laravel: 8.*
testbench: ^6.23

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

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

Laravel Middleware to protect your app against Cross-site scripting (XSS). It sanitizes request input by utilising the [Laravel Security](https://github.com/GrahamCampbell/Laravel-Security) package, and it can sanatize [Blade echo statements](https://laravel.com/docs/8.x/blade#displaying-data) as well.

* Support for PHP 8.0 and 8.1
* Support for Laravel 8 and 9
* Support for PHP 8.0 and higher
* Support for Laravel 9 and higher

## Support this package!
## Sponsor this package!

❤️ We proudly support the community by developing Laravel packages and giving them away for free. If this package saves you time or if you're relying on it professionally, please consider [sponsoring the maintenance and development](https://github.com/sponsors/pascalbaljet). Keeping track of issues and pull requests takes time, but we're happy to help!

Expand Down
11 changes: 6 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@
}
],
"require": {
"php": "^8.0|^8.1",
"php": "^8.0|^8.1|^8.2",
"graham-campbell/security": "^9.1",
"illuminate/contracts": "^8.73|^9.0",
"illuminate/contracts": "^9.0",
"spatie/laravel-package-tools": "^1.9.2"
},
"require-dev": {
"nunomaduro/collision": "^5.10|^6.0",
"orchestra/testbench": "^6.22|^7.0",
"nesbot/carbon": "^2.63",
"nunomaduro/collision": "^6.0",
"orchestra/testbench": "^7.0",
"pestphp/pest": "^1.21",
"pestphp/pest-plugin-laravel": "^1.1",
"phpunit/phpunit": "^9.5"
Expand Down Expand Up @@ -58,4 +59,4 @@
},
"minimum-stability": "dev",
"prefer-stable": true
}
}

0 comments on commit 98a64e8

Please sign in to comment.