Search by

bytic / phpqatools

gabrielsolomon

Composer plugin providing PHP quality assurance tools and commands

Package info

github.com/bytic/phpqatools

Type:composer-plugin

pkg:composer/bytic/phpqatools

Statistics

Installs: 1 876

Dependents: 123

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.20 2025-12-22 12:15 UTC

README

A Composer plugin that installs PHP quality-assurance tools and provides Composer commands for running them.

Included tools

  • PHPUnit and Mockery
  • PHP Depend and PHP Mess Detector
  • PHP-CS-Fixer
  • Composer Normalize and License Checker
  • PHPStan with PHPUnit and Mockery extensions
  • Psalm with PHPUnit and Mockery plugins
  • Roave Security Advisories

The package requires PHP 8.3 or later. Composer selects the newest compatible tool versions for the PHP version used by your project.

Installation

composer require --dev bytic/phpqatools

Composer 2.2 and later requires explicit approval before loading plugins. If Composer does not prompt during installation, allow this plugin in your project's composer.json:

{
  "config": {
    "allow-plugins": {
      "bytic/phpqatools": true
    }
  }
}

The plugin provides grouped commands such as composer bytic:analyze, composer bytic:ci, composer bytic:fix, and composer bytic:test. Individual tools can also be run through their provided Composer commands.

Development

Run the package checks with:

composer test
composer analyse

Continuous integration runs these checks on PHP 8.3, 8.4, and 8.5.

Inspiration