rustamwin / attributes

Handling PHP Attributes by spiral/attributes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Handling PHP Attributes by spiral/attributes

License:MIT License


Languages

Language:PHP 100.0%