1. Go to this page and download the library: Download p/iris 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/ */
p / iris example snippets
P\Iris\Message;
$request = new Message;
$request = new Message;
$request->setUserAgent('My beautiful user agent/1.0');
use P\Iris\Envelope;
use P\Iris\Batch;
$envelope = new Envelope;
$envelope->setSelectTimeout(10.00);
$evenlope->setExecTimeout(100);
$envelope->setOption(Envelope::MAXCONNECTS, 3);
$batch = new Batch($enveloppe);