PHPackages                             thecsea/osticket-php-client - 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. thecsea/osticket-php-client

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

thecsea/osticket-php-client
===========================

Rest php client for osticket

0.1.7(5y ago)412.2k↓50%4GPL-3.0PHPPHP &gt;=5.5.0CI failing

Since Aug 7Pushed 5y ago2 watchersCompare

[ Source](https://github.com/thecsea/osticket-php-client)[ Packagist](https://packagist.org/packages/thecsea/osticket-php-client)[ RSS](/packages/thecsea-osticket-php-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (2)Versions (9)Used By (0)

osticket-php-client
===================

[](#osticket-php-client)

[![Latest Stable Version](https://camo.githubusercontent.com/a3bc16bb479d81604210b0622d76bfc93d122ae3ec356d849cc0f544d001c286/68747470733a2f2f706f7365722e707567782e6f72672f746865637365612f6f737469636b65742d7068702d636c69656e742f762f737461626c65)](https://packagist.org/packages/thecsea/osticket-php-client) [![Total Downloads](https://camo.githubusercontent.com/e94433a02cb86ec3610173da5b0101f4de59117c89e8d797a657f438a23c6886/68747470733a2f2f706f7365722e707567782e6f72672f746865637365612f6f737469636b65742d7068702d636c69656e742f646f776e6c6f616473)](https://packagist.org/packages/thecsea/osticket-php-client) [![Latest Unstable Version](https://camo.githubusercontent.com/e20c80b0f08831f0914a7deb60dec0b58c5978874b9d296ef77e714554016316/68747470733a2f2f706f7365722e707567782e6f72672f746865637365612f6f737469636b65742d7068702d636c69656e742f762f756e737461626c65)](https://packagist.org/packages/thecsea/osticket-php-client) [![License](https://camo.githubusercontent.com/186169e0dc894ba2a2e21bde845492a1f2cb1abf7421847c1a4aacc4e18e1f4c/68747470733a2f2f706f7365722e707567782e6f72672f746865637365612f6f737469636b65742d7068702d636c69656e742f6c6963656e7365)](https://packagist.org/packages/thecsea/osticket-php-client)

Rest php client for [osticket](http://osticket.com/)

Features
--------

[](#features)

### Ositcket features

[](#ositcket-features)

- Creation of tickets
- Attachments
- Execution of cron

### Other/TODO

[](#othertodo)

- Unit tests
- Laravel integration
- Load data by env
- PHP doc
- Force HTTPS
- Better HTTPS status code manage (for example 303 and other 2xx)
- Travis scrutinizer integration
- Usage guide and wiki
- Proxy

Examples
--------

[](#examples)

### Create a ticket

[](#create-a-ticket)

```
use it\thecsea\osticket_php_client\OsticketPhpClient;
use it\thecsea\osticket_php_client\OsticketPhpClientException;

$support = new OsticketPhpClient($url, $apiKey);
try{
  $response = $client->newTicket()
              ->withName('test')
              ->withEmail('test@test.com')
              ->withPhone('0123456789')
              ->withSubject('subject')
              ->withMessage('message')
              ->withTopicId('1')
              ->getData();
  print $response;
}catch(OsticketPhpClientException $e){
  print $->getMessage();
}
```

Of course you can perform the request without inserting all fields.
You can also use *withData* method passing and array of data that is merged with the data set previously or with the defaut data

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity53

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.

###  Release Activity

Cadence

Every ~235 days

Recently: every ~412 days

Total

8

Last Release

1922d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/280e8cda025e47f1005450604314ec83a21dc771a405e64c071c9f4f5f822224?d=identicon)[carduz](/maintainers/carduz)

---

Top Contributors

[![carduz](https://avatars.githubusercontent.com/u/10631614?v=4)](https://github.com/carduz "carduz (23 commits)")

---

Tags

clientrestosticket

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/thecsea-osticket-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/thecsea-osticket-php-client/health.svg)](https://phpackages.com/packages/thecsea-osticket-php-client)
```

###  Alternatives

[cybercog/youtrack-rest-php

YouTrack REST API PHP Client.

37149.2k3](/packages/cybercog-youtrack-rest-php)[printu/labelary

PHP API for Labelary.com

34616.9k](/packages/printu-labelary)[printu/customerio

PHP API for Customer.io

241.1M2](/packages/printu-customerio)[pdffiller/pdffiller-php-api-client

PHP client for pdffiller.com REST API

14140.2k](/packages/pdffiller-pdffiller-php-api-client)[meteocontrol/vcom-api-client

HTTP Client for meteocontrol's VCOM API - The VCOM API enables you to directly access your data on the meteocontrol platform.

175.7k1](/packages/meteocontrol-vcom-api-client)[chsergey/yii2-rest-client

REST client (AR-like model) for Yii Framework 2.0 (via GuzzleHttp)

1511.3k](/packages/chsergey-yii2-rest-client)

PHPackages © 2026

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