PHPackages                             mpclarkson/freshdesk-bundle - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mpclarkson/freshdesk-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

mpclarkson/freshdesk-bundle
===========================

Symfony bundle for the Freshdesk API (v2)

0.3.0(9y ago)588.6k↓41.5%1[1 issues](https://github.com/mpclarkson/freshdesk-bundle/issues)MITPHP

Since Apr 22Pushed 3y ago1 watchersCompare

[ Source](https://github.com/mpclarkson/freshdesk-bundle)[ Packagist](https://packagist.org/packages/mpclarkson/freshdesk-bundle)[ Docs](https://github.com/mpclarkson/freshdesk-bundle)[ RSS](/packages/mpclarkson-freshdesk-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (4)Used By (0)

FreshdeskBundle
===============

[](#freshdeskbundle)

[![Build Status](https://camo.githubusercontent.com/2333528a961c2c80f84c44a208d42a72397a3e841ae873207b53113ca35e54f0/68747470733a2f2f7472617669732d63692e6f72672f6d70636c61726b736f6e2f66726573686465736b2d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mpclarkson/freshdesk-bundle)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/52b9a10bbbd53efa71ab1b8a1cff8b5961dd1ab398a300bf49fe110cd64da61d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d70636c61726b736f6e2f66726573686465736b2d62756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/mpclarkson/freshdesk-bundle/?branch=master)[![SensioLabsInsight](https://camo.githubusercontent.com/68ec499113b0ae0586d745e005f3a71c03d7c3b1f675d2c43533a4a0d92fa19b/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f38353336626433612d393433642d346363632d613936622d3630366161636533656438372e737667)](https://insight.sensiolabs.com/projects/8536bd3a-943d-4ccc-a96b-606aace3ed87)[![Packagist](https://camo.githubusercontent.com/b10e8c0ccdf22f932918a1f33ca3e4e6a150c8a7148563cf8a394ebe8f332ae4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d70636c61726b736f6e2f66726573686465736b2d62756e646c652e737667)](https://packagist.org/packages/mpclarkson/freshdesk-bundle)

This is a Symfony2-3 bundle to interact with the Freshdesk API v2 via the [freshdesk-php-sdk](https://github.com/mpclarkson/freshdesk-php-sdk).

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

[](#requirements)

- Symfony 2.8+
- PHP 5.5+
- A Freshdesk account

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

[](#installation)

To add this bundle to your Symfony app, use [Composer](https://getcomposer.org).

Add `mpclarkson/freshdesk-bundle` to your **composer.json** file:

```
{
    "require": {
        "mpclarkson/freshdesk-bundle": "dev-master"
    }
}
```

Add the bundle to `AppKernel.php`:

```
public function registerBundles()
{
    $bundles = array(
        // ...
            new Mpclarkson\FreshdeskBundle\FreshdeskBundle(),
        // ...
    );
}
```

Configure the bundle in `config.yml`:

```
freshdesk:
    api_key: your_freshdesk__api_key
    domain: your_freshdesk_domain
```

Then run `composer update`.

Accessing the Freshdesk API
---------------------------

[](#accessing-the-freshdesk-api)

In a controller you can access the Freshdesk client and the API resources as follows:

```
$api = $this->get('freshdesk');

//Contacts
$contacts = $api->contacts->update($contactId, $data);

//Agents
$me = $api->agents->current();

//Companies
$company = $api->companies->create($data);

//Groups
$deleted = $api->groups->delete($groupId);

//Tickets
$ticket = $api->tickets->view($filters);

//Time Entries
$time = $api->timeEntries->all($ticket['id']);

//Conversations
$ticket = $api->conversations->note($ticketId, $data);

//Categories
$newCategory = $api->categories->create($data);

//Forums
$forum = $api->forums->create($categoryId, $data);

//Topics
$topics = $api->topics->monitor($topicId, $userId);

//Comments
$comment = $api->comments->create($forumId);

//Email Configs
$configs = $api->emailConfigs->all();

//Products
$product = $api->products->view($productId);

//Business Hours
$hours = $api->businessHours->all();

//SLA Policy
$policies = $api->slaPolicies-all();
```

### Filtering

[](#filtering)

All `GET` requests accept an optional `array $query` parameter to filter results. For example:

```
//Page 2 with 50 results per page
$page2 = $this->forums->all(['page' => 2, 'per_page' => 50]);

//Tickets for a specific customer
$tickets = $this->tickets->view(['company_id' => $companyId]);
```

Please read the Freshdesk documentation for further information on filtering `GET` requests.

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

[](#contributing)

This is a work in progress and PRs are welcome. Please read the [contributing guide](.github/CONTRIBUTING.md).

Author
------

[](#author)

The library was written and maintained by [Matthew Clarkson](http://mpclarkson.github.io/)from [Hilenium](https://hilenium.com).

References
----------

[](#references)

- [Freshdesk PHP SDK](https://github.com/mpclarkson/freshdesk-php-sdk)
- [Freshdesk API Documentation](https://developer.freshdesk.com/api/)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% 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 ~62 days

Total

3

Last Release

3555d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4b6b954fb04b20736e23779ad9fc68cd3041ecc30aba79f894848abd0984a33e?d=identicon)[hilenium](/maintainers/hilenium)

---

Top Contributors

[![mpclarkson](https://avatars.githubusercontent.com/u/4843821?v=4)](https://github.com/mpclarkson "mpclarkson (5 commits)")[![sloury](https://avatars.githubusercontent.com/u/73607736?v=4)](https://github.com/sloury "sloury (1 commits)")

---

Tags

bundlefreshdeskphpsymfonysymfony-bundlesymfonysupporthelp deskFreshdesk

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mpclarkson-freshdesk-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/mpclarkson-freshdesk-bundle/health.svg)](https://phpackages.com/packages/mpclarkson-freshdesk-bundle)
```

###  Alternatives

[hackzilla/ticket-bundle

This Bundle provides multilingual ticketing functionality for Symfony applications.

6529.3k1](/packages/hackzilla-ticket-bundle)[mpclarkson/freshdesk-laravel

Laravel package for the Freshdesk API (v2)

1767.3k](/packages/mpclarkson-freshdesk-laravel)

PHPackages © 2026

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