forked from php-activerecord/activerecord
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
49 lines (49 loc) · 1.41 KB
/
composer.json
File metadata and controls
49 lines (49 loc) · 1.41 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
{
"name": "php-patterns/activerecord",
"type": "library",
"description": "php-activerecord is an open source ORM library based on the ActiveRecord pattern.",
"keywords": ["activerecord", "orm"],
"homepage": "http://www.phpactiverecord.org/",
"license": "MIT",
"require": {
"php": ">=8.1.0",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-phpunit": "^1.3",
"ext-bcmath": "*"
},
"require-dev": {
"phpunit/phpunit": "^10",
"friendsofphp/php-cs-fixer": "^v3.23.0",
"monolog/monolog": "^3.4"
},
"autoload": {
"files": [
"ActiveRecord.php",
"lib/Utils.php"
],
"psr-4": {
"ActiveRecord\\": "lib/"
}
},
"autoload-dev": {
"psr-4": {
"ActiveRecord\\Scripts\\": "scripts/",
"test\\": "test/"
}
},
"scripts": {
"style-check" : "php vendor/bin/php-cs-fixer fix --dry-run --verbose --diff",
"style-fix" : "php vendor/bin/php-cs-fixer fix --verbose",
"stan": "phpstan analyse --ansi --memory-limit 256M",
"test": [
"Composer\\Config::disableProcessTimeout",
"ActiveRecord\\Scripts\\TestCommand::runTest"
]
},
"scripts-descriptions": {
"style-check": "Dry run of composer style-fix",
"style-fix": "Fixes style errors to conform to project standards",
"stan": "Runs phpstan static analysis",
"test": "Runs PHPUnit. Usage: composer test [fileName [filter]]"
}
}