forked from utopia-php/database
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
executable file
·67 lines (66 loc) · 2.16 KB
/
composer.json
File metadata and controls
executable file
·67 lines (66 loc) · 2.16 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
{
"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",
"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/phpunit --configuration phpunit.xml"
],
"lint": "php -d memory_limit=2G ./vendor/bin/pint --test",
"format": "php -d memory_limit=2G ./vendor/bin/pint",
"check": "./vendor/bin/phpstan analyse --level 7 src tests --memory-limit 2G",
"coverage": "./vendor/bin/coverage-check ./tmp/clover.xml 90"
},
"require": {
"php": ">=8.1",
"ext-pdo": "*",
"ext-mongodb": "*",
"ext-mbstring": "*",
"utopia-php/framework": "0.33.*",
"utopia-php/cache": "0.13.*",
"utopia-php/pools": "1.*",
"utopia-php/mongo": "0.11.*"
},
"require-dev": {
"fakerphp/faker": "1.23.*",
"phpunit/phpunit": "9.*",
"pcov/clobber": "2.*",
"swoole/ide-helper": "5.1.3",
"utopia-php/cli": "0.14.*",
"laravel/pint": "*",
"phpstan/phpstan": "1.*",
"rregeer/phpunit-coverage-check": "0.3.*"
},
"suggests": {
"ext-redis": "Needed to support Redis Cache Adapter",
"ext-pdo": "Needed to support MariaDB, MySQL or SQLite Database Adapter",
"mongodb/mongodb": "Needed to support MongoDB Database Adapter"
},
"config": {
"allow-plugins": {
"php-http/discovery": false,
"tbachert/spi": false
}
}
}