Skip to content

Commit

Permalink
feat: support Laravel 10.x (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
laravel-shift authored Feb 7, 2023
1 parent 8b00ce3 commit 156f49f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ jobs:
fail-fast: false
matrix:
php-version: ['8.0', '8.1', '8.2']
laravel_version: [8.*, 9.*]
laravel_version: [8.*, 9.*, 10.*]
exclude:
- laravel_version: 10.*
php-version: 8.0
name: PHP ${{ matrix.php-version }} | Illuminate ${{ matrix.laravel_version }}

steps:
Expand Down
15 changes: 10 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
{
"name": "monicahq/laravel-cloudflare",
"description": "Add Cloudflare ip addresses to trusted proxies for Laravel.",
"keywords": ["laravel", "php", "cloudflare", "proxies"],
"keywords": [
"laravel",
"php",
"cloudflare",
"proxies"
],
"type": "library",
"license": "MIT",
"support": {
Expand All @@ -16,20 +21,20 @@
],
"require": {
"php": "^7.4 || ^8.0",
"illuminate/support": "^8.0 || ^9.0"
"illuminate/support": "^8.0 || ^9.0 || ^10.0"
},
"require-dev": {
"guzzlehttp/guzzle": "^6.3 || ^7.0",
"mockery/mockery": "^1.4",
"nunomaduro/larastan": "^1.0",
"nunomaduro/larastan": "^1.0 || ^2.4",
"ocramius/package-versions": "^1.5 || ^2.1",
"orchestra/testbench": "^6.0 || ^7.0",
"orchestra/testbench": "^6.0 || ^7.0 || ^8.0",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"phpstan/phpstan-strict-rules": "^1.0",
"phpunit/phpunit": "^8.0 || ^9.0",
"thecodingmachine/phpstan-safe-rule": "^1.0",
"vimeo/psalm": "^4.0"
"vimeo/psalm": "^4.0 || ^5.6"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 156f49f

Please sign in to comment.