2017 © Pedro PelĂĄez
 

yii2-extension yii2-freshdesk

Simple Yii2 module to extend Freshdesk API

image

macklus/yii2-freshdesk

Simple Yii2 module to extend Freshdesk API

  • Thursday, December 14, 2017
  • by macklus
  • Repository
  • 1 Watchers
  • 1 Stars
  • 38 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 3 % Grown

The README.md

Yii2 Freshdesk extension

Simple Yii2 module to extend Freshdesk API, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist macklus/yii2-freshdesk "*"

or add, (*4)

"macklus/yii2-freshdesk": "*"

to the require section of your composer.json file., (*5)

Usage

Once the extension is installed, simply declare a component in your config file:, (*6)

'freshdesk' => [
    'class' => 'macklus\freshdesk\Freshdesk',
    'api_key' => 'ThisIsAFakeApiKey',
    'domain' => 'macklus',
],

After that, you can call Freshdesk API by using:, (*7)

$response = Yii::$app->freshdesk->tickets->create([
    'name' => 'Customer name',
    'email' => 'Customer Email',
    'cc_emails' => ['Customer Email'],
    'subject' => "Your ticket",
    'description' => 'The content of ticket',
    'status' => 2,
    'priority' => 1,
]);

The Versions

14/12 2017

dev-develop

dev-develop

Simple Yii2 module to extend Freshdesk API

  Sources   Download

GPL-3.0+

The Requires

 

by José Pedro Andrés

api extension yii2 freshdesk

14/12 2017

dev-master

9999999-dev

Simple Yii2 module to extend Freshdesk API

  Sources   Download

GPL-3.0+

The Requires

 

by José Pedro Andrés

api extension yii2 freshdesk

14/12 2017

1.0.0

1.0.0.0

Simple Yii2 module to extend Freshdesk API

  Sources   Download

GPL-3.0+

The Requires

 

by José Pedro Andrés

api extension yii2 freshdesk