-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from wayofdev/feat/temporal-and-rr
- Loading branch information
Showing
3 changed files
with
3,613 additions
and
644 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,37 @@ | ||
{ | ||
"name": "spiral/app", | ||
"description": "Spiral Application installer", | ||
"name": "wayofdev/spiral-starter-tpl", | ||
"description": "🚀 Pre-configured Spiral Framework Project Template. Includes PHPUnit, Pest PHP, PHPStan, PHP CS Fixer, and CI tools. Supports OpenAPI, DDD, Deptrac, Deployer, PHP 8.3, Docker, local SSL, and DNS. Enhance development with advanced features and maintain high code quality.", | ||
"license": "MIT", | ||
"type": "project", | ||
"homepage": "https://spiral.dev", | ||
"keywords": [ | ||
"php", | ||
"spiral", | ||
"spiral-framework", | ||
"temporal", | ||
"boilerplate", | ||
"spiral-boilerplate", | ||
"starter-template", | ||
"starter-kit", | ||
"spiral-application", | ||
"starter-project", | ||
"spiral-starter-template", | ||
"spiral-starter-kit", | ||
"spiral-api", | ||
"spiral-ddd", | ||
"ddd" | ||
], | ||
"authors": [ | ||
{ | ||
"name": "lotyp", | ||
"email": "[email protected]", | ||
"homepage": "https://wayof.dev" | ||
} | ||
], | ||
"homepage": "https://wayof.dev", | ||
"support": { | ||
"issues": "https://github.com/spiral/app/issues", | ||
"source": "https://github.com/spiral/app" | ||
"issues": "https://github.com/wayofdev/spiral-starter-tpl/issues", | ||
"source": "https://github.com/wayofdev/spiral-starter-tpl", | ||
"security": "https://github.com/wayofdev/spiral-starter-tpl/blob/master/.github/SECURITY.md" | ||
}, | ||
"require": { | ||
"php": "^8.3", | ||
|
@@ -31,9 +56,22 @@ | |
"spiral/views": "^3.8" | ||
}, | ||
"require-dev": { | ||
"spiral/dumper": "^3.2.1", | ||
"spiral/testing": "^2.3", | ||
"vimeo/psalm": "^5.9" | ||
"ergebnis/phpunit-slow-test-detector": "^2.15", | ||
"fakerphp/faker": "^1.23", | ||
"pestphp/pest": "^2.34", | ||
"phpstan/extension-installer": "^1.3", | ||
"phpstan/phpstan": "^1.11", | ||
"phpstan/phpstan-deprecation-rules": "^1.2", | ||
"phpstan/phpstan-phpunit": "^1.3", | ||
"phpstan/phpstan-strict-rules": "^1.5", | ||
"phpunit/phpunit": "^10.5", | ||
"psalm/plugin-phpunit": "~0.19.0", | ||
"rector/rector": "^1.1", | ||
"roave/infection-static-analysis-plugin": "^1.35", | ||
"spiral/dumper": "^3.3", | ||
"spiral/testing": "^2.8", | ||
"vimeo/psalm": "^5.23.1", | ||
"wayofdev/cs-fixer-config": "^1.4" | ||
}, | ||
"minimum-stability": "dev", | ||
"prefer-stable": true, | ||
|
@@ -49,12 +87,28 @@ | |
}, | ||
"config": { | ||
"allow-plugins": { | ||
"ergebnis/composer-normalize": true, | ||
"infection/extension-installer": true, | ||
"pestphp/pest-plugin": true, | ||
"php-http/discovery": true, | ||
"phpstan/extension-installer": true, | ||
"spiral/composer-publish-plugin": true | ||
}, | ||
"audit": { | ||
"abandoned": "report" | ||
}, | ||
"optimize-autoloader": true, | ||
"platform": { | ||
"php": "8.3.7" | ||
}, | ||
"preferred-install": "dist", | ||
"sort-packages": true | ||
}, | ||
"extra": { | ||
"composer-normalize": { | ||
"indent-size": 4, | ||
"indent-style": "space" | ||
}, | ||
"publish-cmd": "php app.php publish" | ||
}, | ||
"scripts": { | ||
|
@@ -64,10 +118,47 @@ | |
"rr get-binary --quiet", | ||
"composer dump-autoload" | ||
], | ||
"psalm:config": "psalm", | ||
"cs:diff": "php-cs-fixer fix --dry-run -v --diff", | ||
"cs:fix": "php-cs-fixer fix -v", | ||
"infect": [ | ||
"Composer\\Config::disableProcessTimeout", | ||
"@putenv XDEBUG_MODE=coverage", | ||
"php -d memory_limit=2G vendor/bin/roave-infection-static-analysis-plugin --threads=2" | ||
], | ||
"infect:ci": [ | ||
"Composer\\Config::disableProcessTimeout", | ||
"@putenv XDEBUG_MODE=coverage", | ||
"php -d memory_limit=2G vendor/bin/roave-infection-static-analysis-plugin --threads=2 --ansi --logger-github --ignore-msi-with-no-mutations --only-covered" | ||
], | ||
"psalm": "psalm --show-info=true", | ||
"psalm:baseline": "psalm --set-baseline=psalm-baseline.xml", | ||
"psalm:ci": "psalm --output-format=github --shepherd --show-info=false --stats --threads=4", | ||
"refactor": "rector process --config=rector.php", | ||
"refactor:ci": "rector process --config=rector.php --dry-run --ansi", | ||
"rr:download": "rr get-binary", | ||
"rr:download-protoc": "rr download-protoc-binary", | ||
"test": "vendor/bin/phpunit", | ||
"test-coverage": "vendor/bin/phpunit --coverage" | ||
"stan": "phpstan analyse --memory-limit=2G", | ||
"stan:baseline": "phpstan analyse --generate-baseline --memory-limit=2G --allow-empty-baseline", | ||
"stan:ci": "phpstan analyse --memory-limit=2G --error-format=github", | ||
"test": [ | ||
"@putenv XDEBUG_MODE=coverage", | ||
"@putenv DB_CONNECTION=memory", | ||
"pest --color=always" | ||
], | ||
"test:arch": [ | ||
"@putenv XDEBUG_MODE=coverage", | ||
"@putenv DB_CONNECTION=memory", | ||
"pest --color=always --configuration pest.xml.dist" | ||
], | ||
"test:cc": [ | ||
"@putenv XDEBUG_MODE=coverage", | ||
"@putenv DB_CONNECTION=memory", | ||
"pest --coverage --coverage-clover=.build/phpunit/logs/clover.xml --color=always" | ||
], | ||
"test:pgsql": [ | ||
"@putenv XDEBUG_MODE=coverage", | ||
"@putenv DB_CONNECTION=pgsql", | ||
"pest --color=always" | ||
] | ||
} | ||
} |
Oops, something went wrong.