PHP code example of theimpossibleastronaut / php-sam
1. Go to this page and download the library: Download theimpossibleastronaut/php-sam 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/ */
theimpossibleastronaut / php-sam example snippets
= new \PHP_SAM\SAM3();
$sam->connect( false );
$sam->commandSAM( "HELLO VERSION MIN=3.0 MAX=3.1 \n" );
= new \PHP_SAM\SAM3();
$sam->connect( false );
$sam->commandSAM( "HELLO VERSION MIN=3.0 MAX=3.1 \n" );
composer
php test/assert.php