Skip to content

Commit a9b4657

Browse files
authored
Version 1.0 with default minimum support for Laravel 10
2 parents fef5d77 + d713beb commit a9b4657

29 files changed

+357
-11062
lines changed

.github/workflows/npm-build.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/workflows/phpstan.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,26 @@ on:
88

99
jobs:
1010
phpstan:
11-
name: phpstan
1211
runs-on: ubuntu-latest
12+
strategy:
13+
fail-fast: true
14+
matrix:
15+
php: [8.1, 8.2]
16+
17+
name: PHP ${{ matrix.php }}
18+
1319
steps:
1420
- name: Checkout code
1521
uses: actions/checkout@v3
1622

1723
- name: Setup PHP
1824
uses: shivammathur/setup-php@v2
1925
with:
20-
php-version: '8.1'
26+
php-version: ${{ matrix.php }}
2127
coverage: none
2228

23-
- name: Install composer dependencies
24-
uses: ramsey/composer-install@v2
29+
- name: Install dependencies
30+
run: composer install --no-interaction
2531

2632
- name: Run PHPStan
2733
run: ./vendor/bin/phpstan --error-format=github

.github/workflows/pint.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,21 @@ on:
99
jobs:
1010
pint:
1111
runs-on: ubuntu-latest
12+
strategy:
13+
fail-fast: true
14+
matrix:
15+
php: [8.1, 8.2]
16+
17+
name: PHP ${{ matrix.php }}
18+
1219
steps:
1320
- name: Checkout code
1421
uses: actions/checkout@v3
1522

1623
- name: Setup PHP
1724
uses: shivammathur/setup-php@v2
1825
with:
19-
php-version: '8.1'
26+
php-version: ${{ matrix.php }}
2027
coverage: none
2128

2229
- name: Install dependencies

.github/workflows/run-tests.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,14 @@ on:
88

99
jobs:
1010
test:
11-
runs-on: ${{ matrix.os }}
11+
runs-on: ubuntu-latest
1212
strategy:
1313
fail-fast: true
1414
matrix:
15-
os: [ubuntu-latest, windows-latest]
16-
php: [8.1]
17-
laravel: [9.*]
18-
include:
19-
- laravel: 9.*
20-
testbench: 7.*
15+
php: [8.1, 8.2]
16+
laravel: [10.*]
2117

22-
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
18+
name: P${{ matrix.php }} - L${{ matrix.laravel }}
2319

2420
steps:
2521
- name: Checkout code
@@ -39,8 +35,8 @@ jobs:
3935
4036
- name: Install dependencies
4137
run: |
42-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
43-
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
38+
composer require "laravel/framework:${{ matrix.laravel }}" --dev --no-interaction --no-update
39+
composer update --prefer-dist --no-interaction
4440
4541
- name: Execute tests
46-
run: vendor/bin/pest --ci
42+
run: vendor/bin/pest

composer.json

Lines changed: 24 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -16,34 +16,32 @@
1616
],
1717
"require": {
1818
"php": "^8.1",
19-
"composer/semver": "^3.3",
20-
"filament/filament": "^2.16.46",
21-
"flowframe/laravel-trend": "^0.1.1",
22-
"illuminate/contracts": "^9.0",
23-
"illuminate/database": "^9.0",
24-
"jessarcher/laravel-castable-data-transfer-object": "^2.2.1",
25-
"laravel/sanctum": "^3.0",
26-
"laravel/socialite": "^5.5",
27-
"livewire/livewire": "^2.10",
28-
"nunomaduro/termwind": "^1.13",
29-
"ralphjsmit/laravel-filament-components": "^1.1",
30-
"socialiteproviders/manager": "^4.1",
31-
"spatie/data-transfer-object": "^3.8",
32-
"twig/twig": "^3.0"
19+
"composer/semver": "^3.3.2",
20+
"filament/filament": "^2.17.18",
21+
"flowframe/laravel-trend": "^0.1.5",
22+
"illuminate/contracts": "^10.0",
23+
"illuminate/database": "^10.0",
24+
"jessarcher/laravel-castable-data-transfer-object": "^2.3",
25+
"laravel/sanctum": "^3.2.1",
26+
"laravel/socialite": "^5.6.1",
27+
"livewire/livewire": "^2.12.3",
28+
"nunomaduro/termwind": "^1.15.1",
29+
"ralphjsmit/laravel-filament-components": "^1.2",
30+
"socialiteproviders/manager": "^4.3",
31+
"spatie/data-transfer-object": "^3.9.1",
32+
"twig/twig": "^3.5.1"
3333
},
3434
"require-dev": {
35-
"laravel/pint": "^1.0",
36-
"nunomaduro/collision": "^6.0",
37-
"nunomaduro/larastan": "^2.0.1",
38-
"orchestra/testbench": "^7.0",
39-
"pestphp/pest": "^1.21",
40-
"pestphp/pest-plugin-faker": "^1.0",
41-
"pestphp/pest-plugin-laravel": "^1.1",
42-
"phpstan/extension-installer": "^1.1",
43-
"phpstan/phpstan-deprecation-rules": "^1.0",
44-
"phpstan/phpstan-phpunit": "^1.0",
45-
"phpunit/phpunit": "^9.5",
46-
"spatie/invade": "^1.1"
35+
"laravel/pint": "^1.7",
36+
"nunomaduro/collision": "^7.0",
37+
"nunomaduro/larastan": "^2.5.1",
38+
"orchestra/testbench": "^8.0",
39+
"pestphp/pest": "^2.3",
40+
"pestphp/pest-plugin-faker": "^2.0",
41+
"pestphp/pest-plugin-laravel": "^2.0",
42+
"phpstan/extension-installer": "^1.2",
43+
"phpstan/phpstan-deprecation-rules": "^1.1.3",
44+
"spatie/invade": "^1.1.1"
4745
},
4846
"autoload": {
4947
"psr-4": {

0 commit comments

Comments
 (0)