Skip to content

Commit

Permalink
Merge pull request #11 from laravel-shift/l11-compatibility
Browse files Browse the repository at this point in the history
Laravel 11.x Compatibility
  • Loading branch information
khatabwedaa authored Mar 20, 2024
2 parents a022e9a + caefc72 commit 5e21c5e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,16 @@ jobs:
fail-fast: true
matrix:
php: ['8.0', 8.1, 8.2]
laravel: [9, 10]
laravel: [9, 10, '11']
exclude:
- php: '8.0'
laravel: 9
- php: '8.0'
- php: '8.0'
laravel: 10
- laravel: '11'
php: '8.0'
- laravel: '11'
php: 8.1

name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}

Expand All @@ -38,5 +42,6 @@ jobs:
run: |
composer require "illuminate/contracts=^${{ matrix.laravel }}" --prefer-dist --no-interaction --no-update
composer update --prefer-dist --no-interaction --no-progress
- name: Execute tests
run: vendor/bin/phpunit --verbose
run: vendor/bin/phpunit --verbose
12 changes: 8 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"name": "khatabwedaa/blade-css-icons",
"description": "A package to easily make use of Css.gg in your Laravel Blade views.",
"keywords": ["Blade", "Css.gg", "Laravel"],
"keywords": [
"Blade",
"Css.gg",
"Laravel"
],
"homepage": "https://github.com/khatabwedaa/blade-css-icons",
"license": "MIT",
"authors": [
Expand All @@ -15,11 +19,11 @@
"require": {
"php": "^8.0",
"blade-ui-kit/blade-icons": "^1.1",
"illuminate/support": "^9.0|^10"
"illuminate/support": "^9.0|^10|^11.0"
},
"require-dev": {
"orchestra/testbench": "^7.0|^8.0",
"phpunit/phpunit": "^9.0"
"orchestra/testbench": "^7.0|^8.0|^9.0",
"phpunit/phpunit": "^9.0|^10.5"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 5e21c5e

Please sign in to comment.