1. Go to this page and download the library: Download amonger/command library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?phprequire_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
amonger / command example snippets
namespaceCommand\Command;
classMyHandlerCommand{
public $someParam;
publicfunction__construct($someParam){
$this->someParam = $someParam;
}
}