|
1 | 1 | {
|
2 | 2 | "name": "hyperf/validation",
|
3 |
| - "type": "library", |
| 3 | + "description": "hyperf validation", |
4 | 4 | "license": "MIT",
|
| 5 | + "type": "library", |
5 | 6 | "keywords": [
|
6 | 7 | "validation",
|
7 | 8 | "hyperf"
|
8 | 9 | ],
|
9 |
| - "description": "hyperf validation", |
10 |
| - "autoload": { |
11 |
| - "psr-4": { |
12 |
| - "Hyperf\\Validation\\": "src/" |
13 |
| - } |
14 |
| - }, |
15 |
| - "autoload-dev": { |
16 |
| - "psr-4": { |
17 |
| - "HyperfTest\\Validation\\": "tests" |
18 |
| - } |
19 |
| - }, |
20 | 10 | "require": {
|
21 | 11 | "php": ">=8.1",
|
22 | 12 | "egulias/email-validator": "^3.0",
|
|
26 | 16 | "hyperf/di": "~3.1.0",
|
27 | 17 | "hyperf/framework": "~3.1.0",
|
28 | 18 | "hyperf/macroable": "~3.1.0",
|
29 |
| - "hyperf/tappable": "~3.1.0", |
30 |
| - "hyperf/translation": "~3.1.0", |
31 | 19 | "hyperf/stringable": "~3.1.0",
|
32 | 20 | "hyperf/support": "~3.1.0",
|
| 21 | + "hyperf/tappable": "~3.1.0", |
| 22 | + "hyperf/translation": "~3.1.0", |
33 | 23 | "hyperf/utils": "~3.1.0",
|
34 | 24 | "nesbot/carbon": "^2.21",
|
35 |
| - "psr/container": "^1.0|^2.0", |
| 25 | + "psr/container": "^1.0 || ^2.0", |
36 | 26 | "psr/event-dispatcher": "^1.0",
|
37 |
| - "psr/http-message": "^1.0|^2.0" |
| 27 | + "psr/http-message": "^1.0 || ^2.0" |
38 | 28 | },
|
39 | 29 | "suggest": {
|
40 | 30 | "hyperf/database": "Required if you want to use the database validation rule (~3.1.0).",
|
41 | 31 | "hyperf/http-server": "Required if you want to use the request validation rule (~3.1.0)."
|
42 | 32 | },
|
| 33 | + "autoload": { |
| 34 | + "psr-4": { |
| 35 | + "Hyperf\\Validation\\": "src/" |
| 36 | + } |
| 37 | + }, |
| 38 | + "autoload-dev": { |
| 39 | + "psr-4": { |
| 40 | + "HyperfTest\\Validation\\": "tests" |
| 41 | + } |
| 42 | + }, |
43 | 43 | "config": {
|
44 | 44 | "sort-packages": true
|
45 | 45 | },
|
|
0 commit comments