Download the PHP package zenichanin/freshdesk-laravel without Composer
On this page you can find all versions of the php package zenichanin/freshdesk-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zenichanin/freshdesk-laravel
More information about zenichanin/freshdesk-laravel
Files in zenichanin/freshdesk-laravel
Package freshdesk-laravel
Short Description Laravel package for the Freshdesk API (v2)
License MIT
Homepage https://github.com/mpclarkson/freshdesk-laravel
Informations about the package freshdesk-laravel
Freshdesk Service Provider for Laravel 5 and 6
This is a service provider for interacting with the Freshdesk API v2 via the freshdesk-php-sdk in Laravel and Lumen applications.
Installation
To add this bundle to your app, use Composer.
Add mpclarkson/freshdesk-laravel
to your composer.json file:
Then run:
You must then register the provider in your application.
Register the provider in the providers
key in your config/app.php
:
Then add the Freshdesk facade alias in the aliases
key in your config/app.php
:
Configuration
To customize the configuration file, publish the package configuration using Artisan.
Set your configuration using environment variables in your .env
file:
FRESHDESK_KEY
Read this article to find your API key: https://support.freshdesk.com/support/solutions/articles/215517-how-to-find-your-api-key
FRESHDESK_DOMAIN
The subdomain part of your Freshdesk organisation URL.
Accessing the Freshdesk API
In a controller you can access Freshdesk resource as follows:
Filtering
All GET
requests accept an optional array $query
parameter to filter
results. For example:
Please read the Freshdesk documentation for further information on
filtering GET
requests.
Contributing
This is a work in progress and PRs are welcome. Please read the contributing guide.
Author
The library was written and maintained by Matthew Clarkson from Hilenium.