Add better php _detection_ in vendor modules