Encoding/decoding via php

Hello friends, I ask you a question from my ignorance in security functions. My problem arose when I needed to somehow hide the airtable api keys that I had to put in the app (because I needed users to see certain airtables data without registering in the app, that’s why I can’t hide this information through firebase log for example), I found an extension but it didn’t work, basically what this extension did is through a web to encode your api key and then decode it through the extension, I saw that this generated a lot of mistrust as to whether apis keys were stored in some database, so it occurred to me that each of us could generate a php encoding file and make a custom php decoding request extension.
Do you think this is safer?