FuzzyIndex indexes text for performing fuzzy searches using PHP and SQLite. It can process a list of text strings and build a database which indexes snippets of those strings and the locations where they appear. The class can also search for given keywords and returns the locations of the indexed strings where the best-matching text appears. It uses SQLite to store the indexed text database, but the class can be extended to use a different database type. It uses certain heuristics to extract the snippets from the indexed text. These heuristics are implemented as separate classes which can be used interchangeably.
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.