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 6y ago1 watchersCompare

[ Source](https://github.com/codedmonkey/jenkins)[ Packagist](https://packagist.org/packages/codedmonkey/jenkins)[ RSS](/packages/codedmonkey-jenkins/feed)WikiDiscussions master Synced 3d 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 19% 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

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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