Hope everyone knows about HTMLPurifier and why its used. Martin Brampton’s new book PHP 5 CMS Framework Development includes a discussion of using HTML Purifier in your content managementsystem. Today I thought of adding HTMLPurifier to Lithium . Its easy but sometimes we may want to look the autoloader and how its implemented. So this is a small contribution from me. There is also another way. ie go and clone https://github.com/harikt/li3_htmlpurifier. Download all the files to HTMLPurifier . And add Libraries::add(‘li3_htmlpurifier’); Hope you liked :–) . Have fun .