Compliance Automation for PHP - Automatically configure and execute multiple CI/CD
& QA Testing
tools on any platform via GitHub Action
.
Warning
This project is not finished yet, work in progress.
You can install the package via composer:
composer require ghostwriter/compliance
# Create `.github/workflows/compliance.yml` workflow file
compliance workflow
# Create `./compliance.php` configuration file
compliance config
# Determine CI Jobs for GitHub Actions
compliance matrix
# Executes a specific Job
compliance check {job}
# Install from the command line:
docker pull ghcr.io/ghostwriter/compliance:v1
# Usage from the command line:
docker run -v $(PWD):/app -w=/app ghcr.io/ghostwriter/compliance workflow
docker run -v $(PWD):/app -w=/app ghcr.io/ghostwriter/compliance config
docker run -v $(PWD):/app -w=/app ghcr.io/ghostwriter/compliance matrix
docker run -v $(PWD):/app -w=/app ghcr.io/ghostwriter/compliance check {job}
# Use as base image in Dockerfile:
FROM ghcr.io/ghostwriter/compliance:v1
Ghostwriter\Compliance\Tool\Codeception;
Ghostwriter\Compliance\Tool\ComposerRequireChecker;
Ghostwriter\Compliance\Tool\EasyCodingStandard;
Ghostwriter\Compliance\Tool\GrumPHP;
Ghostwriter\Compliance\Tool\Infection;
Ghostwriter\Compliance\Tool\MarkdownLint;
Ghostwriter\Compliance\Tool\Phan;
Ghostwriter\Compliance\Tool\PHPBench;
Ghostwriter\Compliance\Tool\PHPCS;
Ghostwriter\Compliance\Tool\PHPCSFixer;
Ghostwriter\Compliance\Tool\PHPUnit;
Ghostwriter\Compliance\Tool\Psalm;
Ghostwriter\Compliance\Tool\Rector;
composer test
Please see CHANGELOG.md for more information what has changed recently.
If you discover any security related issues, please email nathanael.esayeas@protonmail.com
instead of using the issue tracker.
The BSD-3-Clause. Please see License File for more information.