PHPackages                             datenkraft/bb-freshdesk-sku-usage-collector-api-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. [API Development](/categories/api)
4. /
5. datenkraft/bb-freshdesk-sku-usage-collector-api-php-client

ActiveLibrary[API Development](/categories/api)

datenkraft/bb-freshdesk-sku-usage-collector-api-php-client
==========================================================

The Freshdesk SKU Usage Collector API PHP Client enables you to work with the Freshdesk SKU Usage Collector API

v1.3.12(1mo ago)0572↓50%MITPHPPHP ^8.0

Since Feb 21Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/datenkraft/bb-freshdesk-sku-usage-collector-api-php-client)[ Packagist](https://packagist.org/packages/datenkraft/bb-freshdesk-sku-usage-collector-api-php-client)[ RSS](/packages/datenkraft-bb-freshdesk-sku-usage-collector-api-php-client/feed)WikiDiscussions v1.3 Synced 1mo ago

READMEChangelogDependencies (12)Versions (18)Used By (0)

Backbone - Freshdesk SKU Usage Collector API PHP Client
=======================================================

[](#backbone---freshdesk-sku-usage-collector-api-php-client)

Introduction
------------

[](#introduction)

The Freshdesk SKU Usage Collector API PHP Client enables you to work with the Freshdesk SKU Usage Collector API.

This PHP package is generated by an API client generator.

Prerequisites
-------------

[](#prerequisites)

- PHP 8.0 or later for production

Versioning
----------

[](#versioning)

This project uses the following versioning format:

```
v..

```

- `APIMajorVersion`: Matches the major version of the API the client is intended for.
- `BaseClientMajorVersion`: Is a client specific version. Changes in this level also mean breaking changes, which differs from the classic SemVer format.
- `ApiIncrementalUpdateVersion`: Increases with every release.

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

[](#installation)

You can use [Composer](https://getcomposer.org/). Follow the [installation instructions](https://getcomposer.org/doc/00-intro.md) if you do not already have composer installed.

As described in the Versioning paragraph before, breaking changes can occur within the first two version parts, therefore it is recommended to use a require constraint as shown below to stay within `1.2` and not go to `1.3` or higher.

If you want to use the v1 API, use the client version `v1.X.0`, with `X` replaced by the highest available release number.

```
# Example
composer require datenkraft/bb-freshdesk-sku-usage-collector-api-php-client "~1.2.0"
```

In your PHP script, make sure you include the autoloader:

```
require 'path/to/vendor/autoload.php';
```

Using the library
-----------------

[](#using-the-library)

The library can be used to communicate with the Freshdesk SKU Usage Collector Resource Server. The Client includes functionalities for every endpoint defined in the openapi.json. The Client also is auto generated with jane-php using an openapi.json file.

### Creating a client

[](#creating-a-client)

```
require 'path/to/vendor/autoload.php';

// Valid clientId, clientSecret and requested scopes
$clientId = '1234';
$clientSecret = 'abcd';

$config['clientId'] = $clientId;
$config['clientSecret'] = $clientSecret;

$factory = new ClientFactory($config);
$client = Client::createWithFactory($factory);
```

### Example Endpoint: Add tickets

[](#example-endpoint-add-tickets)

```
$ticket = (new Ticket())
    ->setTicketId(1)
    ->setStatus("open")
    ->setProduct("p1")
    ->setSource("source")
    ->setCreatedDate(new \DateTime())
    ->setLastUpdatedDate(new \DateTime())
    ->setAgentReplyCount(1)
    ->setTimesReopened(0)
    ;

$tickets = [
    $ticket,
    // tickets can be inserted in bulk
];
$response = $client->putTickets($tickets);
// $response is on success a list of Ticket models, in case of an error an exception or an ErrorResponse object as a fallback
```

Licence
-------

[](#licence)

This repository is available under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance90

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~70 days

Recently: every ~56 days

Total

17

Last Release

50d ago

### Community

Maintainers

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

---

Top Contributors

[![philipp-kern](https://avatars.githubusercontent.com/u/84841380?v=4)](https://github.com/philipp-kern "philipp-kern (21 commits)")[![herkales](https://avatars.githubusercontent.com/u/110830400?v=4)](https://github.com/herkales "herkales (12 commits)")[![raphael-p43](https://avatars.githubusercontent.com/u/84837001?v=4)](https://github.com/raphael-p43 "raphael-p43 (10 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/datenkraft-bb-freshdesk-sku-usage-collector-api-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/datenkraft-bb-freshdesk-sku-usage-collector-api-php-client/health.svg)](https://phpackages.com/packages/datenkraft-bb-freshdesk-sku-usage-collector-api-php-client)
```

###  Alternatives

[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/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)[hubspot/api-client

Hubspot API client

23414.2M16](/packages/hubspot-api-client)

PHPackages © 2026

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