2017 © Pedro Peláez
 

library component-template

PHP template library.

image

eureka/component-template

PHP template library.

  • Thursday, December 21, 2017
  • by velkuns
  • Repository
  • 1 Watchers
  • 0 Stars
  • 90 Installations
  • PHP
  • 4 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

component-template

Current version Supported PHP version CI Quality Gate Status Coverage, (*1)

Why?

Template for new components, (*2)

Installation

If you wish to install it in your project, require it via composer:, (*3)

composer require eureka/component-template

Usage

Usage:, (*4)

<?php

// Sample code here

Contributing

See the CONTRIBUTING file., (*5)

Install / update project

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)

Testing & CI (Continuous Integration)

Tests

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

Code Style

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

Static Analysis

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

CI Simulation

And the last "helper" commands, you can run before commit and push, is:, (*16)

make ci  

License

This project is licensed under the MIT License - see the LICENSE file for details, (*17)

The Versions

21/12 2017

dev-master

9999999-dev

PHP template library.

  Sources   Download

MIT

by Romain Cottard

21/12 2017

1.0.3

1.0.3.0

PHP template library.

  Sources   Download

MIT

by Romain Cottard

11/09 2017

1.0.2

1.0.2.0

PHP template library.

  Sources   Download

MIT

by Romain Cottard

09/06 2017

1.0.1

1.0.1.0

PHP template library.

  Sources   Download

MIT

by Romain Cottard

09/10 2016

1.0.0

1.0.0.0

PHP template library.

  Sources   Download

MIT

by Romain Cottard