Phil Sturgeon

Web developer, kayaker, outdoors madman and part-time alcoholic.


PHP Library for the Command Line

Posted Command Line at Oct 07, 2008

PHP Command Line Library demo screenshotUsing my sexy new PHP CLI library you don't even to learn anything. It will be Ignited and posted properly when I get the chance, but for now take a look at the demo code and give it a try.

Pastebin: PHP Command Line Class

To get this working simply save the file in your web root and open up your command line tool of choice. In Windows that would be Run > cmd [Enter] and on Mac you hit CMD + Space > Terminal [Enter].


Type in:

php /path/to/file.php

The path to your file may well be something like:

Let me know what you think in the comments... in a few days when they work. :p

Comments

User comments

There are no comments

Post a comment