-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
81 lines (81 loc) · 2.58 KB
/
composer.json
File metadata and controls
81 lines (81 loc) · 2.58 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
{
"name": "alfacode-team/let-migrate",
"description": "Enterprise-grade, multi-database PHP migration engine. Standalone module — works independently of any framework.",
"type": "library",
"license": "MIT",
"keywords": [
"migration",
"database",
"schema",
"mysql",
"postgresql",
"sqlite",
"sqlserver",
"enterprise",
"psr-4"
],
"authors": [
{
"name": "AlfaCode Team",
"email": "shamavurasheed@gmail.com",
"role": "Developer"
}
],
"require": {
"php": "^8.2",
"psr/log": "^3.0"
},
"require-dev": {
"phpunit/phpunit": "^10.5 || ^11.0",
"phpstan/phpstan": "^1.10",
"friendsofphp/php-cs-fixer": "^3.50"
},
"autoload": {
"psr-4": {
"AlfaCode\\LetMigrate\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"AlfaCode\\LetMigrate\\Tests\\": "tests/",
"App\\Commands\\Migrate\\": "src/Commands/Migrate/",
"App\\Tests\\": "tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"sort-packages": true
},
"scripts": {
"test": "phpunit --no-coverage",
"test:unit": "phpunit --testsuite Unit --no-coverage",
"test:int": "phpunit --testsuite Integration --no-coverage",
"test:cmd:unit": "phpunit --testsuite Commands.Unit --no-coverage",
"test:cmd:int": "phpunit --testsuite Commands.Integration --no-coverage",
"test:all": "phpunit --testsuite All --no-coverage",
"test:cover": "phpunit --coverage-html build/coverage/html --coverage-clover build/coverage/clover.xml",
"phpstan": "phpstan analyse --memory-limit=256M",
"stan": "@phpstan",
"cs-check": "php-cs-fixer fix --dry-run --diff --config=.php-cs-fixer.php",
"cs-fix": "php-cs-fixer fix --config=.php-cs-fixer.php",
"check": [
"@cs-check",
"@phpstan",
"@test:all"
]
},
"scripts-descriptions": {
"test": "Run core library tests (Unit + Integration)",
"test:unit": "Run Unit tests only (no DB needed)",
"test:int": "Run Integration tests (requires SQLite)",
"test:cmd:unit": "Run migration command unit tests",
"test:cmd:int": "Run migration command integration tests (real SQLite)",
"test:all": "Run every test including command tests",
"test:cover": "Run tests + generate HTML coverage report",
"phpstan": "PHPStan static analysis at level 8",
"cs-check": "Check code style (dry-run)",
"cs-fix": "Apply PHP CS Fixer rules",
"check": "cs-check + phpstan + all tests (full CI gate)"
}
}