PHPackages                             codedmonkey/jenkins - 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. [API Development](/categories/api)
4. /
5. codedmonkey/jenkins

AbandonedArchivedLibrary[API Development](/categories/api)

codedmonkey/jenkins
===================

Provides an object-oriented interface to connect with a Jenkins installation

0154PHP

Since Dec 11Pushed 7y ago1 watchersCompare

[ Source](https://github.com/codedmonkey/jenkins)[ Packagist](https://packagist.org/packages/codedmonkey/jenkins)[ RSS](/packages/codedmonkey-jenkins/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Jenkins API Client for PHP
==========================

[](#jenkins-api-client-for-php)

The Jenkins component provides an object-oriented interface to connect with a Jenkins installation through the REST API.

**Please note that this library is still in development**, usage in production environments is highly discouraged. Feel free to [open an issue](https://github.com/codedmonkey/jenkins/issues)for any feature requests or unexpected behavior.

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

[](#installation)

This component requires an [HTTP Client](http://docs.php-http.org/en/latest/clients.html)that integrates with HTTPlug. The [CURL Client](http://docs.php-http.org/en/latest/clients/curl-client.html)works fine in most cases, but you can also choose to integrate with a third-party library like [Guzzle](http://docs.php-http.org/en/latest/clients/guzzle6-adapter.html). For integration with the Symfony framework, see [HttplugBundle](http://docs.php-http.org/en/latest/integrations/symfony-bundle.html).

This component is available as a package on [Packagist](https://packagist.org):

```
composer require codedmonkey/jenkins php-http/curl-client guzzlehttp/psr7
```

Basic Usage
-----------

[](#basic-usage)

To set up a connection to the Jenkins installation, provide a URL containing a username and an API token through HTTP basic authentication. This is usually formatted as `http://username:token@hostname:port`.

```
use CodedMonkey\Jenkins\Jenkins;

$jenkins = new Jenkins('http://tim:1234567890@jenkins.host');

// Get an array of all jobs
$jenkins->jobs->all();
```

Running Tests
-------------

[](#running-tests)

```
composer install
vendor/bin/phpunit
```

Documentation
-------------

[](#documentation)

- [Authentication](documentation/authentication.markdown)
- [Jobs](documentation/jobs.markdown)

Resources
---------

[](#resources)

- [GitHub repository](https://github.com/codedmonkey/jenkins)
- [Packagist package](https://packagist.org/packages/codedmonkey/jenkins)

License
-------

[](#license)

This component is released under the [MIT license](license.markdown).

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/e1fb4e70241ddd9f0dbb19c1df376c1f6488181e720f7b644fe6c9572cb5adb0?d=identicon)[codedmonkey](/maintainers/codedmonkey)

---

Top Contributors

[![codedmonkey](https://avatars.githubusercontent.com/u/203651?v=4)](https://github.com/codedmonkey "codedmonkey (34 commits)")

### Embed Badge

![Health badge](/badges/codedmonkey-jenkins/health.svg)

```
[![Health](https://phpackages.com/badges/codedmonkey-jenkins/health.svg)](https://phpackages.com/packages/codedmonkey-jenkins)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M19](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k12](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
