Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yiistack/template


https://github.com/yiistack/template

github-template template yii

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        





Yii Stack _____



[![Latest Stable Version](https://poser.pugx.org/yiistack/_____/v/stable.png)](https://packagist.org/packages/yiistack/_____)
[![Total Downloads](https://poser.pugx.org/yiistack/_____/downloads.png)](https://packagist.org/packages/yiistack/_____)
[![Build status](https://github.com/yiistack/_____/workflows/build/badge.svg)](https://github.com/yiistack/_____/actions?query=workflow%3Abuild)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/yiistack/_____/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/yiistack/_____/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/yiistack/_____/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/yiistack/_____/?branch=master)
[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fyiistack%2F_____%2Fmaster)](https://dashboard.stryker-mutator.io/reports/github.com/yiistack/_____/master)
[![static analysis](https://github.com/yiistack/_____/workflows/static%20analysis/badge.svg)](https://github.com/yiistack/_____/actions?query=workflow%3A%22static+analysis%22)
[![type-coverage](https://shepherd.dev/github/yiistack/_____/coverage.svg)](https://shepherd.dev/github/yiistack/_____)

The package ...

## Requirements

- PHP 7.4 or higher.

## Installation

The package could be installed with composer:

```
composer require yiistack/_____ --prefer-dist
```

## General usage

### Unit testing

The package is tested with [PHPUnit](https://phpunit.de/). To run tests:

```shell
./vendor/bin/phpunit
```

### Mutation testing

The package tests are checked with [Infection](https://infection.github.io/) mutation framework. To run it:

```shell
./vendor/bin/roave-infection-static-analysis-plugin
```

### Static analysis

The code is statically analyzed with [Psalm](https://psalm.dev/). To run static analysis:

```shell
./vendor/bin/psalm
```