Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
executable file
·87 lines (87 loc) · 2.63 KB
/
Copy pathcomposer.json
File metadata and controls
executable file
·87 lines (87 loc) · 2.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"name": "utopia-php/database",
"description": "A simple library to manage application persistence using multiple database adapters",
"type": "library",
"keywords": [
"php",
"framework",
"upf",
"utopia",
"database"
],
"license": "MIT",
"minimum-stability": "stable",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Utopia\\Database\\": "src/Database"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\E2E\\": "tests/e2e",
"Tests\\Unit\\": "tests/unit"
}
},
"scripts": {
"build": [
"Composer\\Config::disableProcessTimeout",
"docker compose build"
],
"start": [
"Composer\\Config::disableProcessTimeout",
"docker compose up -d"
],
"test": [
"Composer\\Config::disableProcessTimeout",
"docker compose exec tests vendor/bin/paratest --configuration phpunit.xml --functional --processes 4"
],
"lint": "php -d memory_limit=2G ./vendor/bin/pint --test",
"format": "php -d memory_limit=2G ./vendor/bin/pint",
"check": [
"./vendor/bin/phpstan analyse --memory-limit 2G",
"./vendor/bin/phpstan analyse -c phpstan-bin.neon --memory-limit 2G"
]
},
"require": {
"php": ">=8.5",
"ext-pdo": "*",
"ext-mongodb": "*",
"ext-mbstring": "*",
"ext-redis": "*",
"utopia-php/validators": "^1.0 || ^2.0",
"utopia-php/console": "^0.1 || ^0.2",
"utopia-php/cache": "^4.0 || ^5.0",
"utopia-php/pools": "^2.0",
"utopia-php/mongo": "^1.5.4",
"utopia-php/query": "^0.7.2",
"utopia-php/async": "^0.2"
},
"require-dev": {
"fakerphp/faker": "^1.23",
"phpunit/phpunit": "^12.5",
"brianium/paratest": "^7.20",
"swoole/ide-helper": "5.1.3",
"utopia-php/cli": "^0.24.4",
"laravel/pint": "^1.29",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-phpunit": "^2.0"
},
"suggest": {
"ext-redis": "Needed to support Redis Cache Adapter",
"ext-swoole": "Needed to scope lifecycle hook silencing per coroutine and to detect lost connections",
"ext-pdo": "Needed to support MariaDB, MySQL or SQLite Database Adapter"
},
"config": {
"allow-plugins": {
"php-http/discovery": false,
"tbachert/spi": false
}
},
"extra": {
"branch-alias": {
"dev-feat-query-lib": "8.0.x-dev",
"dev-main": "8.0.x-dev"
}
}
}