Download the PHP package dlin/zendesk-bundle without Composer
On this page you can find all versions of the php package dlin/zendesk-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download dlin/zendesk-bundle
More information about dlin/zendesk-bundle
Files in dlin/zendesk-bundle
Download dlin/zendesk-bundle
More information about dlin/zendesk-bundle
Files in dlin/zendesk-bundle
Vendor dlin
Package zendesk-bundle
Short Description A Syfmony 2 Bundle for Dlin Zendesk client library
License MIT
Homepage http://dlin.me
Package zendesk-bundle
Short Description A Syfmony 2 Bundle for Dlin Zendesk client library
License MIT
Homepage http://dlin.me
Please rate this library. Is it a good library?
Informations about the package zendesk-bundle
Dlin Symfony Zendesk Bundle
Dlin Zendesk Bundle is Symfony2 wrapper bundle for the 'Dlin-Zendesk' PHP library:
This Zendesk Bundle provides a configurable service to work with Zendesk API
Version
0.0.1
Installation
Installation using Composer
Add to your composer.json:
json
{
"require" : {
"dlin/zendesk-bundle": "dev-master"
}
}
Enable the bundle in you AppKernel.php
public function registerBundles()
{
$bundles = array(
...
new Dlin\Bundle\ZendeskBundle\DlinZendeskBundle(),
...
}
Configuration
For example:
#app/config/config.yml
dlin_zendesk:
email: [email protected]
token: xxxxxxxxxxx
url: https://subdomain.zendesk.com/api/v2/
Usage
Geting the service in a controller
$api = $this->get('dlin.zendesk')->getApi();
Getting the service in a ContainerAwareService
$api = $this->container->get('dlin.zendesk')->getApi();
Using the service
//Get recent tickets
$response = $api->get('tickets/recent.json')->send()->json();
Using ticket Resource Mapping Classes
//Instantiate the Ticket Client
$ticketClient = new TicketClient($api);
//Query a ticket by ID
$ticket = $ticketClient->getOneById(123);
For more details, please refer to the dlin-zendesk library.
License
MIT
Free Software, Yeah!
All versions of zendesk-bundle with dependencies
PHP Build Version
Package Version
The package dlin/zendesk-bundle contains the following files
Loading the files please wait ...