PHP Package: ondram/ci-detector
CI detector library for PHP that identifies if a script is running in a continuous integration environment. Detects Travis CI, GitHub Actions, CircleCI, GitLab CI, and more.
Package Description
The CI Detector PHP library is designed to help developers identify if their PHP scripts are executing within a continuous integration system. It supports detection for popular CI platforms such as Travis CI, GitHub Actions, CircleCI, Jenkins, GitLab CI, and more. This library provides a simple and efficient way to adjust script behavior when running in CI environments.
Download Latest Version: 4.2.0

Code Integration Example
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/ondram/ci-detector/4.2.0/loader.php';
require_once 'libs/ondram/phpunit-html-report-generator/{lib_version}/loader.php';
use OndraM\CIDetector\CIDetector;
$obj = new CIDetector();
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.