PHP code example of natsu007 / ntak-php

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

    

natsu007 / 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 Natsu007\Ntak\Enums;
 bash
git clone [email protected]:natsu007/ntak-php.git
cd ntak-php
composer install --dev