Superbalist / laravel-zendesk by superbalist

A Laravel Zendesk library for integrating with the Zendesk API
Package Data
Maintainer Username: superbalist
Maintainer Contact: ( a division of Takealot Online (Pty) Ltd)
Package Create Date: 2016-02-04
Package Last Update: 2017-02-06
Language: PHP
License: MIT
Last Refreshed: 2020-10-16 03:03:25
Package Statistics
Total Downloads: 63,867
Monthly Downloads: 2,444
Daily Downloads: 113
Total Stars: 6
Total Watchers: 38
Total Forks: 3
Total Open Issues: 0


A Laravel Zendesk library for integrating with the Zendesk API

Author StyleCI Software License Packagist Version Total Downloads

This package provides a Laravel service provider and facade for the zendesk/zendesk_api_client_php package.


composer require superbalist/laravel-zendesk

Register the service provider in app.php

'providers' => array(

Register the facade in app.php

'aliases' => array(
    'Zendesk' => 'Superbalist\Zendesk\ZendeskFacade',

Create a services.php config file.


return array(

    'zendesk' => array(
        'subdomain' => '[[your zendesk subdomain]]',
        'username' => '[[your zendesk username]]',
        'token' => '[[your zendesk api token]]',



Please see for full documentation on the core API.

All functions provided by the core API are available behind the Zendesk facade in Laravel.

use Zendesk;

// get all tickets
$zendesk = Zendesk::tickets()->findAll();

// create a new ticket
$ticket = Zendesk::tickets()->create([
    'subject' => 'The quick brown fox jumps over the lazy dog',
    'comment' => [
        'body' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, ' .
                  'sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.'
    'priority' => 'normal'