homeapp/php-skeleton

A basic template for creating php packages with basic setup: psalm, php-cs-fixer, phpunit, CI with running test

1.0.3 2021-06-02 14:49 UTC

This package is auto-updated.

Last update: 2024-03-29 04:45:46 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

  1. Remove minimum-stability: dev when BackwardCompatibilityCheck will be released 5.1 version