Download the PHP package sync667/zendesk-laravel-med without Composer
On this page you can find all versions of the php package sync667/zendesk-laravel-med. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sync667/zendesk-laravel-med
More information about sync667/zendesk-laravel-med
Files in sync667/zendesk-laravel-med
Package zendesk-laravel-med
Short Description Laravel wrapper for zendesk/zendesk_api_client_php package
License
Informations about the package zendesk-laravel-med
Laravel Zendesk
This package provides integration with the Zendesk API. It supports creating tickets, retrieving and updating tickets, deleting tickets, etc.
The package simply provides a Zendesk
facade that acts as a wrapper to the zendesk/zendesk_api_client_php package.
NB: Currently only supports token-based authentication.
Installation
You can install this package via Composer using:
You must also install the service provider.
Laravel 5.5+ users: this step may be skipped, as the package supports auto discovery.
If you want to make use of the facade you must install it as well.
Configuration
To publish the config file to app/config/zendesk-laravel.php
run:
Set your configuration using environment variables, either in your .env
file or on your server's control panel:
ZENDESK_SUBDOMAIN
The subdomain part of your Zendesk organisation URL.
e.g. http://huddledigital.zendesk.com use huddledigital
ZENDESK_USERNAME
The username for the authenticating account.
ZENDESK_TOKEN
The API access token. You can create one at: https://SUBDOMAIN.zendesk.com/agent/admin/api/settings
ZENDESK_DRIVER
(Optional)
Set this to null
or log
to prevent calling the Zendesk API directly from your environment.
Usage
Facade
The Zendesk
facade acts as a wrapper for an instance of the Zendesk\API\Client
class. Any methods available on this class (documentation here) are available through the facade. for example:
Dependency injection
If you'd prefer not to use the facade, you can skip adding the alias to config/app.php
and instead inject Huddle\Zendesk\Services\ZendeskService
into your class. You can then use all of the same methods on this object as you would on the facade.
This package is available under the MIT license.
All versions of zendesk-laravel-med with dependencies
illuminate/support Version ~5.4|^6.0|^7.0|^8.0
sync667/zendesk_api_client_php_med Version v2.3.0