https://supabase.com/ logo
#help
Title
# help
a

Alan

03/25/2022, 12:08 AM
Hello everyone, does supabase work with php?
n

Needle

03/25/2022, 12:08 AM
Hello @Alan! This thread has been automatically created from your message in #843999948717555735 a ``few seconds ago``. Pinging @User so that they see this as well! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ... menu) and select Leave Thread to unsubscribe from future updates. Want to change the title? Use the
/title
command! We have solved your problem? Click the button below to archive it.
g

garyaustin

03/25/2022, 12:20 AM
Sure, but there is not a client (although this exists: https://github.com/rafaelwendel/phpsupabase) . Basically Supabase API is just an http interface so you can access from php with curl or other http methods. If you use Auth, you would have to deal with token refreshes which most of the clients handle.
n

Needle

03/25/2022, 12:20 AM
Alan (2022-03-25)
a

Alan

03/25/2022, 12:25 AM
Thank you @User , I'll try the phpsupabase and also try the php with curl. Hopefully supabase will consider making an official php client.
g

garyaustin

03/25/2022, 12:27 AM
I know nothing about that php github repository, just came up in a google hit... buyer beware... It has a few votes: https://github.com/supabase/supabase/discussions/5#discussioncomment-1557190