Download the PHP package silktide/freshdesk-api without Composer
On this page you can find all versions of the php package silktide/freshdesk-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download silktide/freshdesk-api
More information about silktide/freshdesk-api
Files in silktide/freshdesk-api
Download silktide/freshdesk-api
More information about silktide/freshdesk-api
Files in silktide/freshdesk-api
Vendor silktide
Package freshdesk-api
Short Description PHP API library for Freshdesk
License GPL-2.0+
Package freshdesk-api
Short Description PHP API library for Freshdesk
License GPL-2.0+
Please rate this library. Is it a good library?
Informations about the package freshdesk-api
Freshdesk API client
A PHP API client for the Freshdesk API.
Installation
composer require silktide/freshdesk-api
Usage
This library was built with dependency injection (DI) in mind, but a factory is included for your convenience should you prefer.
With DI
The client class has 5 dependencies:
- Instance of
GuzzleHttp\Client
- Instance of
Silktide\FreshdeskApi\ResponseFactory
- Your Freshdesk domain (e.g. 'https://mydomain.freshdesk.com')
- Your API key or username
- Your password (optional, omit if using API key)
Without DI
$client = \Silktide\FreshdeskApi\ClientFactory::create('https://mydomain.freshdesk.com', 'myApiKeyOrUsername', 'password');
Password is optional and should be omitted if you're using an API key.
Supported requests
Currently, this library only supports submitting a ticket.
$client->submitTicket(
'A message',
'A subject',
'[email protected]',
\Silktide\FreshdeskApi\Constant::PRIORITY_MEDIUM, // Defaults to low if omitted
\Silktide\FreshdeskApi\Constant::STATUS_OPEN // Defaults to open if omitted
);
All versions of freshdesk-api with dependencies
PHP Build Version
Package Version
The package silktide/freshdesk-api contains the following files
Loading the files please wait ....