rustamwin/attributes

attributes

Fund package maintenance!
Patreon

dev-master / 1.0.x-dev 2022-05-07 05:44 UTC

README

PHP Attributes


Latest Stable Version Total Downloads Build status Scrutinizer Code Quality Code Coverage Mutation testing badge static analysis

Requirements

  • PHP 8.0 or higher.

Installation

The package could be installed with composer:

composer require rustamwin/attributes --prefer-dist

General usage

Unit testing

The package is tested with PHPUnit. To run tests:

./vendor/bin/phpunit

Mutation testing

The package tests are checked with Infection mutation framework. To run it:

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

Static analysis

The code is statically analyzed with Psalm. To run static analysis:

./vendor/bin/psalm