Skip to content

Commit 10d99b0

Browse files
committed
Add Laravel 12 support, update dependencies and enhance composer configuration
Added "illuminate/support" as a new dependency and upgraded development dependencies to their latest versions. Introduced additional composer settings for package sorting, minimum stability, and preference for stable releases to improve package management and stability.
1 parent 4f57d07 commit 10d99b0

File tree

4 files changed

+14
-11
lines changed

4 files changed

+14
-11
lines changed

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up PHP
1818
uses: shivammathur/setup-php@v2
1919
with:
20-
php-version: '8.1'
20+
php-version: '8.2'
2121
tools: composer:v2
2222
- name: Install dependencies
2323
run: composer install --prefer-dist --no-interaction --no-progress --no-suggest

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup PHP
1616
uses: shivammathur/setup-php@v2
1717
with:
18-
php-version: 8.1
18+
php-version: 8.2
1919
tools: composer:v2
2020

2121
- name: Install dependencies

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ Laravel package to extend your Laravel application with a simple admin permissio
1616
- Artisan command to see who is an admin
1717
- Option to set user with ID 1 as super admin
1818

19-
## Requirements
20-
21-
Laravel 10 or higher
22-
2319
## Installation
2420

2521
1. ```composer require mvd81/laravel-is-admin```

composer.json

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,16 @@
1313
"email": "marcel@webbouwplus.nl"
1414
}
1515
],
16+
"version": "3.3",
1617
"license": "MIT",
1718
"require": {
18-
"php": "^8.1"
19+
"php": "^8.2",
20+
"illuminate/support": "^12.0"
1921
},
2022
"require-dev": {
21-
"orchestra/testbench": "^7.0",
23+
"orchestra/testbench": "^10.0",
2224
"phpstan/phpstan": "^1.10",
23-
"phpunit/phpunit": "^9.5"
25+
"phpunit/phpunit": "^11.0"
2426
},
2527
"autoload": {
2628
"psr-4": {
@@ -38,5 +40,10 @@
3840
"Mvd81\\LaravelIsAdmin\\LaravelIsAdminServiceProvider"
3941
]
4042
}
41-
}
42-
}
43+
},
44+
"config": {
45+
"sort-packages": true
46+
},
47+
"minimum-stability": "dev",
48+
"prefer-stable": true
49+
}

0 commit comments

Comments
 (0)