PHPackages                             dersam/rt-php-lib - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. dersam/rt-php-lib

ActiveLibrary[HTTP &amp; Networking](/categories/http)

dersam/rt-php-lib
=================

Wrapper class for Request Tracker REST API

1.5(7y ago)4482.4k↓36.7%22[6 issues](https://github.com/dersam/RTPHPLib/issues)[2 PRs](https://github.com/dersam/RTPHPLib/pulls)MITPHPPHP &gt;=5.3.0

Since Apr 1Pushed 6y ago8 watchersCompare

[ Source](https://github.com/dersam/RTPHPLib)[ Packagist](https://packagist.org/packages/dersam/rt-php-lib)[ Docs](http://dersam.github.com/RTPHPLib/)[ RSS](/packages/dersam-rt-php-lib/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)DependenciesVersions (16)Used By (0)

RTPHPLib
========

[](#rtphplib)

[![Build Status](https://camo.githubusercontent.com/d6cc405c7eca6277f0af0adbf425261765852851d1770d3c8b7d9e6859d1d905/68747470733a2f2f7472617669732d63692e6f72672f64657273616d2f52545048504c69622e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/dersam/RTPHPLib)

Provides an implementation of the Request Tracker API in PHP.

Requirements
------------

[](#requirements)

- PHP 5.3+ should work, but we only test PHP versions that are not EOL (7+). You really shouldn't be using PHP5 anymore.
- curl

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

[](#installation)

`composer require dersam/rt-php-lib`

Or just download and include RequestTracker.php.

Usage
-----

[](#usage)

See example.php for usage instructions.

See  for information on available fields. Note that if a request type has mandatory fields, they are requested in the function call, or (in certain cases) automatically added to the request. So you don't need to specify the ticket id in content, or the type of action.

Issues
------

[](#issues)

Please report any issues at

Contributing
------------

[](#contributing)

- Fork the repository.
- Make your changes (Adding tests makes you a good person!).
- Submit pull requests against master.

Tests
-----

[](#tests)

Running `phpunit` from the project root will run the tests. The tests currently expect an RT instance running on `localhost:8080`. You can easily get a local instance by using the `netsandbox/request-tracker` docker container. If your instance is not at localhost, you can specify a different uri by setting the `RT_ENDPOINT` environment variable.

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity45

Moderate usage in the ecosystem

Community22

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 75% 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.

###  Release Activity

Cadence

Every ~96 days

Recently: every ~223 days

Total

14

Last Release

2799d ago

Major Versions

1.0.2 → 2.0.0.x-dev2015-04-18

v1.2.2 → 3.0.0.x-dev2016-02-10

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/475851?v=4)[Sam Schmidt](/maintainers/dersam)[@dersam](https://github.com/dersam)

---

Top Contributors

[![dersam](https://avatars.githubusercontent.com/u/475851?v=4)](https://github.com/dersam "dersam (108 commits)")[![ParisLiakos](https://avatars.githubusercontent.com/u/656465?v=4)](https://github.com/ParisLiakos "ParisLiakos (24 commits)")[![christianchristensen](https://avatars.githubusercontent.com/u/65640?v=4)](https://github.com/christianchristensen "christianchristensen (3 commits)")[![petski](https://avatars.githubusercontent.com/u/116610?v=4)](https://github.com/petski "petski (2 commits)")[![Leusev](https://avatars.githubusercontent.com/u/9702463?v=4)](https://github.com/Leusev "Leusev (2 commits)")[![dalefrancum](https://avatars.githubusercontent.com/u/22149729?v=4)](https://github.com/dalefrancum "dalefrancum (2 commits)")[![EmTeedee](https://avatars.githubusercontent.com/u/195600?v=4)](https://github.com/EmTeedee "EmTeedee (2 commits)")[![timhci](https://avatars.githubusercontent.com/u/29929025?v=4)](https://github.com/timhci "timhci (1 commits)")

---

Tags

restrequest trackerrtrt3rt4

### Embed Badge

![Health badge](/badges/dersam-rt-php-lib/health.svg)

```
[![Health](https://phpackages.com/badges/dersam-rt-php-lib/health.svg)](https://phpackages.com/packages/dersam-rt-php-lib)
```

###  Alternatives

[zircote/swagger-php

Generate interactive documentation for your RESTful API using PHP attributes (preferred) or PHPDoc annotations

5.3k132.9M468](/packages/zircote-swagger-php)[psr/link

Common interfaces for HTTP links

2.5k144.1M68](/packages/psr-link)[league/fractal

Handle the output of complex data structures ready for API output.

3.5k64.1M476](/packages/league-fractal)[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[lexik/jwt-authentication-bundle

This bundle provides JWT authentication for your Symfony REST API

2.6k58.7M210](/packages/lexik-jwt-authentication-bundle)[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.3k63.6M233](/packages/nelmio-api-doc-bundle)

PHPackages © 2026

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