Template for new components
If you wish to install it in your project, require it via composer:
composer require eureka/component-template
Usage:
<?php
// Sample code here
See the CONTRIBUTING file.
You can install project with the following command:
make install
And update with the following command:
make update
NB: For the components, the composer.lock
file is not committed.
You can run tests (with coverage) on your side with following command:
make tests
For prettier output (but without coverage), you can use the following command:
make testdox # run tests without coverage reports but with prettified output
You also can run code style check with following commands:
make phpcs
You also can run code style fixes with following commands:
make phpcbf
To perform a static analyze of your code (with phpstan, lvl 9 at default), you can use the following command:
make analyze
Minimal supported version:
make php74compatibility
Maximal supported version:
make php82compatibility
And the last "helper" commands, you can run before commit and push, is:
make ci
This project is licensed under the MIT License - see the LICENSE
file for details