Skip to content

Commit 3e62270

Browse files
Merge pull request #104 from WendellAdriel/feature/laravel-12
Update README and test suite for Laravel 12
2 parents c100365 + d06f21d commit 3e62270

File tree

3 files changed

+16
-21
lines changed

3 files changed

+16
-21
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,14 @@ jobs:
88
strategy:
99
matrix:
1010
os: [ubuntu-latest]
11-
php: [8.3, 8.2, 8.1]
12-
laravel: [9.*, 10.*, 11.*]
11+
php: [8.4, 8.3, 8.2]
12+
laravel: [11.*, 12.*]
1313
dependency-version: [prefer-stable]
1414
include:
15-
- laravel: 9.*
16-
testbench: 7.*
17-
- laravel: 10.*
18-
testbench: 8.*
1915
- laravel: 11.*
2016
testbench: 9.*
21-
exclude:
22-
- laravel: 11.*
23-
php: 8.1
17+
- laravel: 12.*
18+
testbench: 10.*
2419

2520
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.dependency-version }}
2621

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<p align="center">
1010
<a href="https://packagist.org/packages/WendellAdriel/laravel-validated-dto"><img src="https://img.shields.io/packagist/v/WendellAdriel/laravel-validated-dto.svg?style=flat-square" alt="Packagist"></a>
1111
<a href="https://packagist.org/packages/WendellAdriel/laravel-validated-dto"><img src="https://img.shields.io/packagist/php-v/WendellAdriel/laravel-validated-dto.svg?style=flat-square" alt="PHP from Packagist"></a>
12-
<a href="https://packagist.org/packages/WendellAdriel/laravel-validated-dto"><img src="https://img.shields.io/badge/Laravel-9.x,%2010.x,%2011.x-brightgreen.svg?style=flat-square" alt="Laravel Version"></a>
12+
<a href="https://packagist.org/packages/WendellAdriel/laravel-validated-dto"><img src="https://img.shields.io/badge/Laravel-11.x,%2012.x-brightgreen.svg?style=flat-square" alt="Laravel Version"></a>
1313
<a href="https://github.com/WendellAdriel/laravel-validated-dto/actions"><img alt="GitHub Workflow Status (main)" src="https://img.shields.io/github/actions/workflow/status/WendellAdriel/laravel-validated-dto/tests.yml?branch=main&label=Tests"> </a>
1414
</p>
1515

@@ -21,7 +21,7 @@ Imagine that now you want to do the same action that you do in an endpoint on a
2121

2222
With this package you **define the validation once** and can **reuse it where you need**, making your application more **maintainable** and **decoupled**.
2323

24-
## Documentation
24+
## Documentation
2525
[![Docs Button]][Docs Link] [![DocsRepo Button]][DocsRepo Link]
2626

2727
## Installation

composer.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,18 @@
3030
}
3131
],
3232
"require": {
33-
"php": "^8.1",
34-
"illuminate/console": "^9.0|^10.0|^11.0|^12.0",
35-
"illuminate/database": "^9.0|^10.0|^11.0|^12.0",
36-
"illuminate/http": "^9.0|^10.0|^11.0|^12.0",
37-
"illuminate/support": "^9.0|^10.0|^11.0|^12.0",
38-
"illuminate/validation": "^9.0|^10.0|^11.0|^12.0"
33+
"php": "^8.2",
34+
"illuminate/console": "^11.0|^12.0",
35+
"illuminate/database": "^11.0|^12.0",
36+
"illuminate/http": "^11.0|^12.0",
37+
"illuminate/support": "^11.0|^12.0",
38+
"illuminate/validation": "^11.0|^12.0"
3939
},
4040
"require-dev": {
41-
"laravel/pint": "^1.14",
42-
"orchestra/testbench": "^7.0|^8.0|^9.0|^10.0",
43-
"pestphp/pest": "^1.20|^2.0",
44-
"pestphp/pest-plugin-faker": "^1.0|^2.0"
41+
"laravel/pint": "^1.21",
42+
"orchestra/testbench": "^9.0|^10.0",
43+
"pestphp/pest": "^2.0|^3.0",
44+
"pestphp/pest-plugin-faker": "^2.0|^3.0"
4545
},
4646
"scripts": {
4747
"lint": "pint",

0 commit comments

Comments
 (0)