PHP code example of kinsari-os / azticketing

1. Go to this page and download the library: Download kinsari-os/azticketing library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

kinsari-os / azticketing example snippets


"organization": // Your Azure DevOps organization.
"project": // Your Azure DevOps project.
"pat": //Personal Access Token for Azure DevOps.
"webhook_secret": //Secret for validating incoming webhooks. Ignore for now
"area_path": // Area path for the tickets. If not set, it will use the project name.
"app:" //Configuration for the Laravel application. You can set the following options:
    "page_title": // Default page title.
"enable_views": // Enable or disable the default views for manager tickets.
"routes": // Configuration for the default routes. You can set the following options:
    "prefix": // The prefix for the routes.

use use AzTicketingManager;

AzTicketingManager::createTicket(
    'My first ticket',
    'This is the description of my first ticket.', []);
bash
php artisan vendor:publish --tag="azticketing-config"
bash
php artisan vendor:publish --tag="azticketing-views"

bash
php artisan vendor:publish --tag="azticketing-assets"