PHP Package: staabm/annotate-pull-request-from-checkstyle

Annotate Pull Request from Checkstyle is a PHP library designed to enhance code quality by automatically annotating GitHub pull requests with Checkstyle report findings for better code reviews and collaboration.

Current Version: 1.8.6
Last Updated: 2025-09-17
PHP Requirement: ^5.3 || ^7.0 || ^8.0
Dependencies:
staabm/annotate-pull-request
checkstyle/checkstyle
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Annotate Pull Request from Checkstyle is a powerful PHP library that streamlines the code review process by integrating Checkstyle reports directly into GitHub pull requests. By providing detailed feedback on code quality issues, this library helps developers identify and address potential problems early, leading to more efficient and collaborative development workflows.

🔗 View on GitHub

Download Latest Version: 1.8.6

Download Download v1.8.6

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/staabm/annotate-pull-request-from-checkstyle/1.8.6/loader.php';
require_once 'libs/staabm/annotate-pull-request/{lib_version}/loader.php';
require_once 'libs/checkstyle/checkstyle/{lib_version}/loader.php';

use Staabm\AnnotatePullRequestFromCheckstyle\Annotator;
use Checkstyle\CheckstyleReport;
use Staabm\AnnotatePullRequestFromCheckstyle\GitHubClient;

$obj = new Annotator();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.