11{
2- "name" : " cafernandes/express-php-cycle-orm-extension" ,
3- "description" : " Integração completa do Cycle ORM com o microframework Express-PHP" ,
4- "keywords" : [" express-php" , " cycle-orm" , " database" , " orm" , " microframework" ],
5- "type" : " library" ,
6- "license" : " MIT" ,
7- "authors" : [
8- {
9- "name" : " Caio Alberto Fernandes" ,
10- "homepage" : " https://github.com/CAFernandes"
11- }
12- ],
13- "require" : {
14- "php" : " ^8.1" ,
15- "cafernandes/express-php" : " ^2.1" ,
16- "cycle/orm" : " ^2.7" ,
17- "cycle/annotated" : " ^3.4" ,
18- "cycle/migrations" : " ^3.2" ,
19- "cycle/schema-builder" : " ^2.7" ,
20- "spiral/tokenizer" : " ^3.4"
21- },
22- "require-dev" : {
23- "phpunit/phpunit" : " ^10.0" ,
24- "phpstan/phpstan" : " ^1.10" ,
25- "squizlabs/php_codesniffer" : " ^3.7" ,
26- "friendsofphp/php-cs-fixer" : " ^3.0" ,
27- "psalm/plugin-phpunit" : " ^0.18"
28- },
29- "autoload" : {
30- "psr-4" : {
31- "CAFernandes\\ ExpressPHP\\ CycleORM\\ " : " src/"
32- }
2+ "name" : " express-php/cycle-orm-extension" ,
3+ "description" : " Cycle ORM integration for Express-PHP microframework" ,
4+ "keywords" : [
5+ " express-php" ,
6+ " cycle-orm" ,
7+ " database" ,
8+ " orm" ,
9+ " microframework"
10+ ],
11+ "type" : " library" ,
12+ "license" : " MIT" ,
13+ "authors" : [
14+ {
15+ "name" : " Caio Alberto Fernandes" ,
16+ "homepage" : " https://github.com/CAFernandes"
17+ }
18+ ],
19+ "require" : {
20+ "php" : " ^8.1" ,
21+ "cafernandes/express-php" : " ^2.1.1" ,
22+ "cycle/orm" : " ^2.0" ,
23+ "cycle/annotated" : " ^4.3" ,
24+ "cycle/migrations" : " 3.x-dev" ,
25+ "cycle/schema-builder" : " ^2.0" ,
26+ "spiral/tokenizer" : " ^2.7"
27+ },
28+ "require-dev" : {
29+ "phpunit/phpunit" : " ^10.0" ,
30+ "phpstan/phpstan" : " ^1.0" ,
31+ "squizlabs/php_codesniffer" : " ^3.13" ,
32+ "friendsofphp/php-cs-fixer" : " ^3.76"
33+ },
34+ "autoload" : {
35+ "psr-4" : {
36+ "CAFernandes\\ ExpressPHP\\ CycleORM\\ " : " src/"
3337 },
34- "autoload-dev" : {
35- "psr-4" : {
36- "CAFernandes\\ ExpressPHP\\ CycleORM\\ Tests\\ " : " tests/"
37- }
38- },
39- "bin" : [
40- " bin/express-cycle"
38+ "files" : [
39+ " src/Helpers/env.php" ,
40+ " src/Helpers/config.php"
41+ ]
42+ },
43+ "autoload-dev" : {
44+ "psr-4" : {
45+ "CAFernandes\\ ExpressPHP\\ CycleORM\\ Tests\\ " : " tests/"
46+ }
47+ },
48+ "extra" : {
49+ "express-php" : {
50+ "providers" : [
51+ " CAFernandes\\ ExpressPHP\\ CycleORM\\ CycleServiceProvider"
52+ ]
53+ }
54+ },
55+ "scripts" : {
56+ "test" : " phpunit" ,
57+ "test-coverage" : " phpunit --coverage-html coverage" ,
58+ "phpstan" : " phpstan analyse src --level=9" ,
59+ "cs:check" : " phpcs --standard=phpcs.xml --report=full" ,
60+ "cs:check:summary" : " phpcs --standard=phpcs.xml --report=summary" ,
61+ "cs:check:diff" : " phpcs --standard=phpcs.xml --report=diff" ,
62+ "cs:fix" : " phpcbf --standard=phpcs.xml" ,
63+ "cs:fix:dry" : " phpcbf --standard=phpcs.xml --dry-run" ,
64+ "psr12:validate" : [
65+ " @cs:check:summary" ,
66+ " echo 'PSR-12 validation completed!'"
4167 ],
42- "extra" : {
43- "express-php" : {
44- "providers" : [
45- " CAFernandes\\ ExpressPHP\\ CycleORM\\ CycleServiceProvider"
46- ]
47- },
48- "branch-alias" : {
49- "dev-main" : " 1.0-dev"
50- }
51- },
52- "scripts" : {
53- "post-install-cmd" : [
54- " @php scripts/post-install.php"
55- ],
56- "post-update-cmd" : [
57- " @php scripts/post-install.php"
58- ],
59- "test" : " phpunit" ,
60- "test-coverage" : " phpunit --coverage-html=coverage-html --coverage-clover=coverage.xml" ,
61- "analyse" : " phpstan analyse" ,
62- "lint" : " php-cs-fixer fix --dry-run --diff" ,
63- "fix" : " php-cs-fixer fix" ,
64- "setup" : [
65- " @composer install" ,
66- " @php install.php"
67- ],
68- "validate" : [
69- " @lint" ,
70- " @analyse" ,
71- " @test"
72- ],
73- "ci" : [
74- " @lint" ,
75- " @analyse" ,
76- " @test"
77- ]
78- },
79- "scripts-descriptions" : {
80- "test" : " Run PHPUnit tests" ,
81- "test-coverage" : " Run tests with coverage report" ,
82- "analyse" : " Run PHPStan static analysis" ,
83- "lint" : " Check code style with PHP CS Fixer" ,
84- "fix" : " Fix code style issues" ,
85- "setup" : " Setup development environment" ,
86- "validate" : " Validate code quality" ,
87- "ci" : " Run complete CI pipeline"
88- },
89- "config" : {
90- "optimize-autoloader" : true ,
91- "preferred-install" : " dist" ,
92- "sort-packages" : true ,
93- "allow-plugins" : {
94- "composer/package-versions-deprecated" : true
95- }
96- },
97- "minimum-stability" : " stable" ,
98- "prefer-stable" : true
99- }
68+ "psr12:fix" : [
69+ " @cs:fix" ,
70+ " @cs:check:summary" ,
71+ " echo 'PSR-12 auto-fix completed!'"
72+ ],
73+ "quality:psr12" : [
74+ " @psr12:validate" ,
75+ " @phpstan" ,
76+ " echo 'Quality check with PSR-12 completed!'"
77+ ]
78+ },
79+ "minimum-stability" : " dev" ,
80+ "prefer-stable" : true
81+ }
0 commit comments