Sed_plugin_library is a project mainly written in PHP, it's free.
Textpattern: Library plugin for my common code
sed_plugin_library
released under the GPLv2
A library plugin for textpattern.