PHP CLI Framework is a simple class which you can extend to quickly create a commandline (CLI) application using PHP. Only a single file is needed, and everything extends that file. It supports interactive input and an object oriented way of writing which keeps things nice and clean. Features include arguments, flags, options, colors, interactive input, object oriented PHP5, a micro framework, and minimal coding required. There's only a single class to extend.
The XLog class can be used to write log messages to PHP or INI files. It can write details about events to log files that may include details such as event file, event line, event time and date, current page URL, and remote user IP address. The class can write to log files in either plain text format, INI format, or a PHP file that wraps the log messages in comments.