PHP code example of moazam1 / fortisapi

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

    

moazam1 / fortisapi example snippets




$client = FortisAPIClientBuilder::init()
    ->userId('user-id')
    ->userApiKey('user-api-key')
    ->developerId('developer-id')
    ->environment('sandbox')
    ->build();