Added support for L12 #7

Merged
mathiaspalmqvist merged 1 commits from 6-laravel-12 into main 2025-06-16 20:32:57 +00:00
3 changed files with 29 additions and 7 deletions

No files matched your search

+26 -4
View File
@@ -16,14 +16,27 @@ jobs:
strategy: strategy:
fail-fast: true fail-fast: true
matrix: matrix:
os: [ubuntu-latest, windows-latest] os: [ubuntu-latest]
php: [8.4, 8.3] php: [8.3, 8.4]
laravel: [11.*] laravel: [11.*, 12.*]
stability: [prefer-lowest, prefer-stable] stability: [prefer-lowest, prefer-stable]
include: include:
- laravel: 11.* - laravel: 11.*
php: 8.3
testbench: 9.* testbench: 9.*
carbon: ^2.63 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 }} 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 }}/php.json"
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.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 - name: Install dependencies
run: | 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 composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: List Installed Dependencies - name: List Installed Dependencies
+2 -2
View File
@@ -8,8 +8,8 @@
A Laravel package for proxying Plausible Analytics, improving performance. A Laravel package for proxying Plausible Analytics, improving performance.
## Requirements ## Requirements
- Laravel 11 - Laravel 12
- PHP 8.3+ - PHP 8.3, 8.4
## 🚀 Installation ## 🚀 Installation
+1 -1
View File
@@ -20,7 +20,7 @@
"require": { "require": {
"php": "^8.3", "php": "^8.3",
"spatie/laravel-package-tools": "^1.16", "spatie/laravel-package-tools": "^1.16",
"illuminate/contracts": "^10.0||^11.0" "illuminate/contracts": "^10.0||^11.0||^12.0"
}, },
"require-dev": { "require-dev": {
"laravel/pint": "^1.14", "laravel/pint": "^1.14",