ahmadsajid1989/zammadapibundle

Zammad API Client for Symfony2

1.0.2 2018-03-18 07:54 UTC

This package is not auto-updated.

Last update: 2024-04-14 03:12:15 UTC


README

This client can be used to access the API of the open source helpdesk Zammad via Symfony. This application is just a wrapper of Zammad API Client

Installation

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

$ composer require ahmadsajid1989/zammadApiBundle

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Requirements

the API client needs PHP 5.6 or newer.

Integration into your project

Add the following to the "require" section of your project's composer.json file:

"ahmadsajid1989/zammadApiBundle": "dev-master"

Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php file of your project:

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new ahmadsajid1989\ZammadApiBundle\ZammadApiBundle(),
        );

        // ...
    }

    // ...
}

Update your config file with the following settings:

app/config/config.php

zammad_api:
    url: 'https://localhost/zammad
    username: 'username'
    password: 'password'
    debug: 'false'