-
Notifications
You must be signed in to change notification settings - Fork 304
Expand file tree
/
Copy pathcomposer.json
More file actions
72 lines (72 loc) · 2.71 KB
/
Copy pathcomposer.json
File metadata and controls
72 lines (72 loc) · 2.71 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
{
"name": "phalcon/invo",
"type": "project",
"description": "This is a sample application for the Phalcon PHP Framework",
"keywords": [
"phalcon",
"framework",
"sample app",
"invo"
],
"homepage": "https://phalcon.io",
"license": "BSD-3-Clause",
"authors": [
{
"name": "Contributors",
"homepage": "https://github.com/phalcon/invo/graphs/contributors"
}
],
"require": {
"php": ">=8.2",
"ext-openssl": "*",
"ext-pdo": "*",
"phalcon/migrations": "dev-master",
"vlucas/phpdotenv": "^5.6"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.95",
"pds/composer-script-names": "^1.0",
"pds/skeleton": "^1.0",
"phalcon/phalcon": "^6.0@beta",
"phalcon/phql": "1.0.x-dev",
"phalcon/talon": "^1.0.0",
"phalcon/volt": "1.0.x-dev",
"phpstan/phpstan": "^2.2",
"phpunit/phpunit": "^11.5",
"squizlabs/php_codesniffer": "^4.0"
},
"suggest": {
"ext-phalcon": "Install the Phalcon v5 C extension to run on v5 (the default); alternatively run on v6 via the phalcon/phalcon package - see the Dockerfile PHALCON_VARIANT build arg and the README."
},
"autoload": {
"psr-4": {
"Invo\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Invo\\Tests\\": "tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"sort-packages": true,
"allow-plugins": {}
},
"scripts": {
"analyze": "phpstan analyse -c resources/phpstan.neon --memory-limit 1024M",
"cs": "phpcs --standard=resources/phpcs.xml",
"cs-fix": "phpcbf --standard=resources/phpcs.xml",
"cs-fixer": "php-cs-fixer fix --config=resources/php-cs-fixer.php --dry-run --diff",
"cs-fixer-fix": "php-cs-fixer fix --config=resources/php-cs-fixer.php",
"test": "talon run",
"test-coverage": "talon run unit -- --coverage-clover tests/_output/coverage.xml",
"test-coverage-html": "talon run unit -- --coverage-html tests/_output/coverage",
"migrate": "phalcon-migrations run --config=resources/migrations.php",
"post-create-project-cmd": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
"@php -r \"echo PHP_EOL . 'INVO is ready (.env created from .env.example). Next steps:' . PHP_EOL . ' docker: docker compose up -d --build, then composer migrate' . PHP_EOL . ' local: install the v5 extension via PIE, or run on the bundled phalcon/phalcon (v6) as-is - see the README' . PHP_EOL . ' tests: vendor/bin/talon run' . PHP_EOL;\""
]
}
}