PHP code example of khal3d / phpline
1. Go to this page and download the library: Download khal3d/phpline 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/ */
khal3d / phpline example snippets
php
php
= new PHPLine\PHPLine();
php
$PHPLine = new PHPLine\PHPLine();
print_r($PHPLine->run('ls -al'));
php
$PHPLine = new PHPLine\PHPLine();
$PHPLine->run('ping google.com', TRUE);