Foo.tl is a project mainly written in PHP, it's free.
No real explanation at the moment; just a dump. This code is all pretty hacked together and not commented; I'll get 'round to some tidying soon.