add travis ci php extension support