NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #426 most downloaded on Packagist
Detect continuous integration environment and provide unified access to properties of current build
Last release 3 years ago
no release in 18 months
Ships unpredictably
gaps range from 9 days to 2.9 years
Most releases are documented
notes for 15 of 19 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
19 releases · first in 2016
Deprecate Wercker, which ceased to exist.
Add SourceHut detection support.
getTargetBranch() method to return the name of the branch where current branch is targeted (aka "base branch").
One column per quarter.
getTargetBranch() method to return the name of the branch where current branch is targeted (aka "base branch").CiDetectorInterface (extended by CiDetector) to allow simpler extension.getCommit() instead of getGitCommit() and getBranch() instead of getGitBranch().CiDetector constructor final.Travis::TRAVIS_BASE_URL constant.- Allow PHP 8.
Use more suitable value for "build number" on GitHub Actions.
Add AWS CodeBuild detection support.
CiDetector::fromEnvironment() when inheriting the class.Allow injecting instance of Env using CiDetector::fromEnvironment() (useful for environment mocking in unit tests).
Env using CiDetector::fromEnvironment() (useful for environment mocking in unit tests).Add GitHub Actions detection support.
getRepositoryName() method to detect repository name (slug) like OndraM/ci-detector (not supported on TeamCity, Jenkins and continuousphp).isPullRequest() to detect if current build has been triggered by a pull request (merge request).
Be aware that this method returns a TrinaryLogic object to handle cases when it cannot be detected
whether build was triggered by a pull request (like on TeamCity and Jenkins CI).Fix Gitlab 9.0+ support (environment variables were renamed in GitLab 9.0+).
- Add continuousphp CI support. - Add drone CI support.
Require PHP 7.1, use strict types.
Add AppVeyor (Windows cloud CI) support.
[BC break] The detect() method of CiDetector class is no longer static.
detect() method of CiDetector class is no longer static.CiDetector sub-namespace.isCiDetected() method to detect if current environment is CI.detect() method always returns instance of CiInterface and throws CiNotDetectedException if CI environment is not detected.Add getGitBranch() method to detect Git branch of the build (supported by all CIs except TeamCity).
getGitBranch() method to detect Git branch of the build (supported by all CIs except TeamCity).getRepositoryUrl() method to detect repository source URL (not supported Codeship, TeamCity, Travis).Initial release supporting Jenkins, Travis CI, Bamboo, CircleCI, Codeship, GitLab and TeamCity services.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →