{"id":13803327,"url":"https://github.com/Webysther/composer-plugin-qa","last_synced_at":"2025-05-13T15:33:03.852Z","repository":{"id":57079495,"uuid":"61841273","full_name":"webysther/composer-plugin-qa","owner":"webysther","description":"Comprehensive Plugin for composer to execute PHP Quality assurance Tools","archived":true,"fork":false,"pushed_at":"2020-10-19T00:44:25.000Z","size":190,"stargazers_count":25,"open_issues_count":3,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-16T17:45:12.897Z","etag":null,"topics":["composer-plugin","metrics","php","php-qa","phpunit","quality","quality-assurance"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webysther.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-23T22:36:40.000Z","updated_at":"2023-01-28T12:17:32.000Z","dependencies_parsed_at":"2022-08-24T14:56:27.713Z","dependency_job_id":null,"html_url":"https://github.com/webysther/composer-plugin-qa","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webysther%2Fcomposer-plugin-qa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webysther%2Fcomposer-plugin-qa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webysther%2Fcomposer-plugin-qa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webysther%2Fcomposer-plugin-qa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webysther","download_url":"https://codeload.github.com/webysther/composer-plugin-qa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253970559,"owners_count":21992523,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["composer-plugin","metrics","php","php-qa","phpunit","quality","quality-assurance"],"created_at":"2024-08-04T01:00:29.103Z","updated_at":"2025-05-13T15:33:03.593Z","avatar_url":"https://github.com/webysther.png","language":"PHP","funding_links":[],"categories":["Plugins"],"sub_categories":["Support"],"readme":"# NOT MAINTANED ANYMORE\n\nThe development of `composer-plugin-qa` was dropped in favor of [phpqa](https://github.com/jakzal/phpqa) which is actively maintained. The project use docker and can less tightly coupled solution. :)\n\n# Composer Plugin for QA\n\n[![Travis](https://img.shields.io/travis/Webysther/composer-plugin-qa.svg?style=flat-square)](https://travis-ci.org/Webysther/composer-plugin-qa)\n[![Travis](https://img.shields.io/badge/HHVM-tested-orange.svg?style=flat-square\u0026maxAge=3600)](https://travis-ci.org/Webysther/composer-plugin-qa)\n[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%205.3-8892BF.svg?style=flat-square\u0026maxAge=3600)](https://php.net/)\n[![Packagist](https://img.shields.io/packagist/v/Webysther/composer-plugin-qa.svg?style=flat-square)](https://packagist.org/packages/webysther/composer-plugin-qa)\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square\u0026maxAge=3600)](https://raw.githubusercontent.com/Webysther/composer-plugin-qa/master/LICENSE)\n\nComprehensive [plugin for composer](https://getcomposer.org/doc/articles/plugins.md#creating-a-plugin)\n to execute [PHP QA Tools](http://phpqatools.org) in a uniform and simple way.\n \n## Features\n\n- Automatic check if exists src,app,test and use by default\n- Check if binary is in ```vendor/bin``` or globally installed\n- Show ```--version``` for all started commands, only few tools show this information\n- Total Execution time\n- Command executed by the wrapper\n\n## Install\n\nAdd to composer.json:\n\n```json\n\"require-dev\": {\n    \"webysther/composer-plugin-qa\": \"~1.0\",\n    \"webysther/composer-meta-qa\": \"~1.0\"\n}\n```\n\nOr install globally:\n\n```bash\ncomposer global require webysther/composer-plugin-qa\n```\n\nList the options\n\n```bash\n$ composer list\n```\n\n![](https://pbs.twimg.com/media/CtOb2zfXYAAQ21O.jpg)\n\nAlmost commands have the short version, example,```qa:sec``` is short version for ```qa:security-checker```.\n\n## Sample\n\nRun Code Sniffer to all source code (```composer qa:cs``` is a short version):\n\n![](https://pbs.twimg.com/media/CtOelj1WYAAHqrS.jpg)\n\nIf you change some peace of code e need run for this change:\n\n![](https://pbs.twimg.com/media/CtOeVnyWYAAfQMx.jpg:large)\n\nIs possibile to point for diretory or file:\n\n```bash\n$ composer qa:cs app/ACME\n$ composer qa:cs app/ACME/Bomb.php\n```\n\nTo see options for any QA command:\n\n```bash\n$ composer qa:cpd --help\n```\n\n## List of PHP Quality Assurance Tools\n\n- [PHPUnit](https://github.com/sebastianbergmann/phpunit): Testing Framework\n- [PHPCOV](https://github.com/sebastianbergmann/phpcov): CLI frontend for the [PHP_CodeCoverage](https://github.com/sebastianbergmann/php-code-coverage)\n- [Paratest](https://github.com/brianium/paratest): Parallel testing for PHPUnit\n- [DbUnit](https://github.com/sebastianbergmann/dbunit): Puts your database into a known state between test runs\n- [PHPLOC](https://github.com/sebastianbergmann/phploc): A tool for quickly measuring the size of a PHP project\n- [PHPCPD](https://github.com/sebastianbergmann/phpcpd): Copy/Paste Detector\n- [PHP_Depend](https://github.com/pdepend/pdepend): Quality of your design in the terms of extensibility, reusability and maintainability\n- [PHPMD](https://github.com/phpmd/phpmd): User friendly frontend application for the raw metrics stream measured by PHP Depend\n- [PhpMetrics](https://github.com/phpmetrics/PhpMetrics): Static analysis tool, gives metrics about PHP project and classes\n- [PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer): Detects violations of a defined set of coding standards\n\nPlus: \n\n- [PHP-CS-Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer): A tool to automatically fix coding standards issues\n- [Security-Checker](https://github.com/sensiolabs/security-checker): Checks if your application uses dependencies with known security vulnerabilities\n\nSuggest install:\n\n- [Prestissimo](https://github.com/hirak/prestissimo): Composer parallel install plugin\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWebysther%2Fcomposer-plugin-qa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FWebysther%2Fcomposer-plugin-qa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWebysther%2Fcomposer-plugin-qa/lists"}