Rick Ruggiero - 2017-09-03 23:54:42
Execute the command as described in the documentation and the following errors occur
$ php getipbyisp.php --help
Warning: require_once(/Users/rick/Downloads/getipbyisp-2017-08-31/src/../vendor/autoload.php): failed to open stream: No such file or directory in /Users/rick/Downloads/getipbyisp-2017-08-31/src/getipbyisp.php on line 26
Fatal error: require_once(): Failed opening required '/Users/rick/Downloads/getipbyisp-2017-08-31/src/../vendor/autoload.php' (include_path='.:') in /Users/rick/Downloads/getipbyisp-2017-08-31/src/getipbyisp.php on line 26
Create the directory and touch a autoload.php file to get a bit further only to get the following error:
$ php getipbyisp.php --help
Fatal error: Uncaught Error: Class 'Console_CommandLine' not found in /Users/rick/Downloads/getipbyisp-2017-08-31/src/getipbyisp.php:88
Stack trace:
#0 /Users/rick/Downloads/getipbyisp-2017-08-31/src/getipbyisp.php(198): GetIpByIsp\GetIpCli->__construct()
#1 {main}
thrown in /Users/rick/Downloads/getipbyisp-2017-08-31/src/getipbyisp.php on line 88
I would love to see how this works, maybe a bit of testing before re-release would be good though.
Cheers,
Rick