Simple PHP library