libheart is a PHP library that handles many basics in writing a web site/application. Using PEAR::DB for database access, Smarty for templating and other leading third-party tools, you can use libheart to quickly provide the basics of a web application.