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