1. Go to this page and download the library: Download carloswph/phell 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/ */
use Phell\Man;
use Phell\Params;
u->toHtml(); // Generate the response in readable HTML
var_dump($cpu->get()); // Regular response in JSON
var_dump($cpu->toArray()); // Parsed response in PHP array, in which subtitles of the manual are keys
namespace Phell;
/**
*
*/
class NewCommand extends AbstractCommand
{
protected $command = 'newcommand';
protected function process($shell)
{
// Process and parsing
}
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.