Helper functions/classes that can be used in PHP projects