PHPackages                             keven/ci-detect - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. keven/ci-detect

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

keven/ci-detect
===============

Port of watson/ci-info NPM module for CI env discovery

1.0.1(1y ago)03MITPHPPHP ^8.1

Since Oct 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/kevengodet/ci-detect)[ Packagist](https://packagist.org/packages/keven/ci-detect)[ RSS](/packages/keven-ci-detect/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

CI environment detection
========================

[](#ci-environment-detection)

This library is freely adapted from [watson/ci-info](https://github.com/watson/ci-info) npm module.

It detects if PHP is running in a CI environment and which one.

Nearly [50 CI vendors](https://github.com/watson/ci-info?tab=readme-ov-file#supported-ci-tools) are currently supported.

Installation
------------

[](#installation)

```
$ composer require keven/ci-detect
```

Usage
-----

[](#usage)

```
