vdebes/php-boilerplate

PHP project starting point with commonly used tools preconfigured

v2.0.1 2023-10-24 17:30 UTC

This package is auto-updated.

Last update: 2024-04-24 18:40:43 UTC


README

Build Coverage

A starting point for a coding dojo or a small personal project. There is no web framework included, but most of the quality assessment tools I use on a daily basis.

Commands to get started

In a terminal, to create a new project :

composer create-project vdebes/php-boilerplate myApp --remove-vcs

Tests

  • Unit testing with PHP-Unit ran at pre-commit, can be run with coverage generation with composer run test-coverage

Static analysis

  • Static analysis with PHPStan ran at pre-commit

Quality metrics

Coding standards

  • Codestyle checker and fixer with PHP-CS-Fixer ran at pre-commit, some errors can be fixed with composer run csfix