1. Go to this page and download the library: Download golgote/console_getargs2 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/ */
golgote / console_getargs2 example snippets
array(
longname => array('short' => Short option name,
'max' => Maximum arguments for option,
'min' => Minimum arguments for option,
'default' => Default option argument,
'desc' => Option description)
)