Skip to content

benrcole/zendeskbundle

 
 

Repository files navigation

About

Malwarebytes\ZendeskBundle is a bundle designed to encapsulate Zendesk's REST API using a repository/entity scheme for its data model. It is a continuous work in progress.

Dependencies

Zendesk API Client

This library requires a Zendesk API client available on GitHub. Since this isn't controlled by Composer call the following from your application's root directory:

git clone git://github.com/relwell/Zendesk-API.git vendor/zendesk-api

In app/autoload.php, add the following lines before AnnotationRegistry::registerLoader(array($loader, 'loadClass')):

$loader->addClassMap( array( 'ZendeskApi\Client' =>  __DIR__.'/../vendor/zendesk-api/ZendeskApi/Client.php' ) );

Add the following fields to your application's parameters.yml:

parameters:
    zendesk_api_key:   yourkey
    zendesk_api_user:  youruser
    zendesk_api_subdomain: yoursubdomain

Ensure that you have generated an API token

Configuring the Bundle

Add the below to your composer.json

"malwarebytes/zendesk-api": "dev-master",
"malwarebytes/zendeskbundle": "dev-master"

Add the below to your app/config.yml

zendesk:
    resource: "@ZendeskBundle/Resources/config/routing.yml"
    prefix: /zendesk

About

zendeskbundle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%