PHP code example of zamasoft / cti-php

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

    

zamasoft / cti-php example snippets





��ッションを取得
$session = cti_get_session('http://localhost:8099/');

// ソースを設定
$session->set_source_uri('http://example.com/document.html');

// 出力先を設定して変換
$session->start_main('./output.pdf');
bash
composer config repositories.zamasoftnet-cti-php vcs https://github.com/zamasoftnet/cti.php
composer 
json
{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/zamasoftnet/cti.php"
    }
  ],
  "