homeapp / php-skeleton
A basic template for creating php packages with basic setup: psalm, php-cs-fixer, phpunit, CI with running test
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 7
Forks: 0
Open Issues: 0
Type:project
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- phpunit/phpunit: ^9.5
- roave/backward-compatibility-check: dev-master
- roave/security-advisories: dev-latest
- vimeo/psalm: ^4.7
This package is auto-updated.
Last update: 2024-11-29 06:29:49 UTC
README
How to use
composer create-project homeapp/php-skeleton repositry-name
After creating project
Change in composer.json
"name":
"description":
"Homeapp\\LibraryOrProjectName\\":
Change the README.md
Tools
To fix code style issues
vendor/bin/php-cs-fixer fix
To run test
vendor/bin/phpunit
To run static analizer
vendor/bin/psalm --no-cache
TODO
- Remove minimum-stability: dev when BackwardCompatibilityCheck will be released 5.1 version