PHP-CowSay is just that, a PHP port of the Cowsay *nix command line utility. This library is not designed for command line use. You should install the original Cowsay for that.
$bessie = new Cow('Hello, Farm!');
echo $bessie;
begets:
------------
< Hello, Farm! >
------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
See the full Cowsay ReadMe for more implementation details as well as for information on how to create your own carcasses.
Getting the code
CowSay can be installed directly or via Composer. It is listed on Packagist.
Issues
Issues are handled via PHP-Cowsay Github Issues.