Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 954 Bytes

README.md

File metadata and controls

62 lines (43 loc) · 954 Bytes

Spark

Use Spark to initialize a php project from scratch. This prepares you to have some basic tools to practice TDD, etc.

Install

git clone [email protected]:frederic100/spark.git

To Contribute to Spark

Requirements

  • docker
  • git

Unit test

bin/phpunit

Using Test-Driven Development (TDD) principles (thanks to Kent Beck and others), following good practices (thanks to Uncle Bob and others).

Manual tests

./start

have a local look at http://127.0.0.1:33080/ in your navigator

./stop

Quality

Some indicators that seem interesting.

  • phpcs PSR12
  • phpstan level 9
  • coverage >=100%
  • infection MSI >=100%

Quick check with:

./codecheck

Check coverage with:

bin/phpunit --coverage-html var

and view 'var/index.html' with your browser

Check infection with:

bin/infection

and view 'var/infection.html' with your browser