cb_common PHP library