Migrate from legacy FCM APIs to HTTP v1

hi, I have to transform my old interaction for sending notifications from FCM legacy to HTTP V1, has anyone ever done it with scriptcase or with php anyway?