Merge pull request #7 from MattitjaAB/6-laravel-12

Added support for L12
This commit was merged in pull request #7.
This commit is contained in:
Mathias authored and GitHub committed 2025-06-16 22:32:57 +02:00
commit 5eff0cafe5
3 files changed
+29 -7

No files matched your search

+26 -4
View File
@@ -16,14 +16,27 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.4, 8.3]
laravel: [11.*]
os: [ubuntu-latest]
php: [8.3, 8.4]
laravel: [11.*, 12.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 11.*
php: 8.3
testbench: 9.*
carbon: ^2.63
- laravel: 11.*
php: 8.4
testbench: 9.*
carbon: ^2.63
- laravel: 12.*
php: 8.3
testbench: 10.*
carbon: ^3.8.4
- laravel: 12.*
php: 8.4
testbench: 10.*
carbon: ^3.8.4
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
@@ -43,9 +56,18 @@ jobs:
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Remove Larastan if Laravel 12
if: startsWith(matrix.laravel, '12.')
run: composer remove larastan/larastan --dev --no-update || true
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.os == 'windows-latest' && '^^^' || '' }}${{ matrix.carbon }}" --no-interaction --no-update
composer require \
"laravel/framework:${{ matrix.laravel }}" \
"orchestra/testbench:${{ matrix.testbench }}" \
"nesbot/carbon:${{ matrix.carbon }}" \
--no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: List Installed Dependencies
+2 -2
View File
@@ -8,8 +8,8 @@
A Laravel package for proxying Plausible Analytics, improving performance.
## Requirements
- Laravel 11
- PHP 8.3+
- Laravel 12
- PHP 8.3, 8.4
## 🚀 Installation
+1 -1
View File
@@ -20,7 +20,7 @@
"require": {
"php": "^8.3",
"spatie/laravel-package-tools": "^1.16",
"illuminate/contracts": "^10.0||^11.0"
"illuminate/contracts": "^10.0||^11.0||^12.0"
},
"require-dev": {
"laravel/pint": "^1.14",