PHP Fax - Initialize the SDK

This is a PHP code sample to show how to initialize the InterFAX SDK to your code. This code sample is based on the PHP library for InterFAX available on Github.

This sample demonstrates how to initialize the InterFAX SDK to your code - you will need to add this for each file of code utilising the SDK. All you will need to do, in order to use this sample, is provide your InterFAX username and password

  
     require __DIR__ . '/vendor/autoload.php';
use Interfax\Client;

$interfax = new Client([
  'username' => 'username',
  'password' => 'password'
]);

  

Contact us today

Talk to a member of our team about the benefits InterFAX can bring to your organization's communications processes.

Contact us today