PHP code example of quesoft / ntak-php

1. Go to this page and download the library: Download quesoft/ntak-php 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/ */

    

quesoft / ntak-php example snippets

 bash
composer 
 php
$client->lastRequest();     // Returns an array
$client->lastResponse();    // Returns an array
$client->lastRequestTime(); // Returns an integer
 php
$response->successful();         // Check whether our message was processed successfully
$response->unsuccessful();       // Check whether our message was processed unsuccessfully
$response->status;               // Returns an NTAKVerifyStatus
$response->successfulMessages;   // Returns an array of the successful messages
$response->unsuccessfulMessages; // Returns an array of the unsuccessful messages
$response->headerErrors;         // Returns an array of the header errors
 php
namespace QueSoft\Ntak\Enums;
 bash
git clone [email protected]:quesoft-it/ntak-php.git
cd ntak-php
composer install --dev