surrealdb / surrealdb.php

SurrealDB SDK for PHP
Apache License 2.0
37 stars 7 forks source link

Availability? #1

Open necrogami opened 1 year ago

necrogami commented 1 year ago

I was wondering the ETA for when the PHP driver will be available for surrealdb?

iDevelopThings commented 1 year ago

I'm also curious... I'm tempted to start writing a lib to handle some of it... can someone at the team confirm if this has been started yet? and if so, maybe push the base so the community can add to it

I have some ideas on how to architect it using websockets, but it would require running a php background instance and some kind of IPC setup to communicate between the main instance and background instance(im not actually sure if it would work though, haven't fully thought through it, there's probably some blockers πŸ˜… )

ideiasfrescas commented 1 year ago

@iDevelopThings do you intend to write an extension or php class? extension would be great as one would not have the need to add bloat to the codebase and it could work like mysqli does ( or other database extension ).

leander-hass commented 1 year ago

I would prefer a PHP-class/library, as I imagine developing, building and installing extensions is quite more work than a simple composer package. But yeah, I also thought about starting it.

mcprog1 commented 1 year ago

I support the idea of ​​being able to start developing the library for PHP, but can you tell me what is left? Since there is nothing at all done, and if so, how can we make a request to make said library.

Guikingone commented 1 year ago

Hi πŸ‘‹πŸ»

Small question, could we help to build this library?

Maybe steps by steps but is there anything we can do to bring this library to life? πŸ€”

atapatel commented 1 year ago

@Guikingone as a step by step i would say we can start with official composer package.

naisofly commented 1 year ago

@Guikingone @atapatel 100% DevRel team is here to support you as needed.

Guikingone commented 1 year ago

Agree, starting an official composer package can help bootstrapping the client, I can start working on the websocket part if no one is currently working on it.

admtech commented 10 months ago

What is the current status? Now that version 1.0 is out, we're all excited about the PHP SDK. We would be pleased to receive an official composer package.

Guikingone commented 9 months ago

Hi @admtech πŸ‘‹πŸ»

Regarding the websocket client, I'm currently working on it, I don't know for the HTTP one but the websocket should be ready soon.

ahmedali5530 commented 1 month ago

How to run live queries? or should i stick to js version?

welpie21 commented 1 month ago

How to run live queries? or should i stick to js version?

Hello, I'm the community maintainer of the current surrealdb.php SDK. Currently the php driver does not support live queries at the moment. I'm looking in the future to support it.

You can stick to the JS version for live queries. I will give you a heads-up when i'm beginning implementing the live query functionalities πŸ˜„

If you have any questions feel free to ask here or tag me "Beau" - "gigapastor" on discord.

Have a great day πŸ˜„

Best regards,

Beau