Skip to content

Commit 2d8e12f

Browse files
committed
added composer with initial packages
1 parent 3d44dfa commit 2d8e12f

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

composer.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"name": "phalcon/rest-api",
3+
"type": "library",
4+
"description": "Sample REST API application implemented with Phalcon v6",
5+
"keywords": [
6+
"phalcon",
7+
"framework",
8+
"sample app",
9+
"rest-api",
10+
"rest",
11+
"api"
12+
],
13+
"homepage": "https://phalcon.io",
14+
"license": "MIT",
15+
"authors": [
16+
{
17+
"name": "Contributors",
18+
"homepage": "https://github.com/phalcon/rest-api/graphs/contributors"
19+
}
20+
],
21+
"require": {
22+
"php": ">=8.2",
23+
"ext-json": "*",
24+
"ext-mbstring": "*",
25+
"robmorgan/phinx": "^0.16.10",
26+
"vlucas/phpdotenv": "^5.6"
27+
},
28+
"require-dev": {
29+
"pds/composer-script-names": "^1.0",
30+
"pds/skeleton": "*",
31+
"phpstan/phpstan": "^2.1",
32+
"phpunit/phpunit": "^10.5",
33+
"squizlabs/php_codesniffer": "^3.13"
34+
},
35+
"config": {
36+
"preferred-install": "dist",
37+
"sort-packages": true,
38+
"optimize-autoloader": true
39+
},
40+
"replace": {
41+
"symfony/polyfill-php80": "*",
42+
"symfony/polyfill-ctype": "*",
43+
"symfony/polyfill-mbstring": "*"
44+
},
45+
"scripts": {
46+
"analyze": "phpstan analyse -c phpstan.neon --memory-limit=512M",
47+
"cs": "vendor/bin/phpcs --standard=phpcs.xml",
48+
"cs-fix": "vendor/bin/phpcbf --standard=phpcs.xml",
49+
"test-unit": "vendor/bin/phpunit -c phpunit.xml.dist --display-all-issues"
50+
}
51+
}

0 commit comments

Comments
 (0)