a PHP class with various tools for a website