Open necrogami opened 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 π )
@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 ).
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.
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.
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? π€
@Guikingone as a step by step i would say we can start with official composer package.
@Guikingone @atapatel 100% DevRel team is here to support you as needed.
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.
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.
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.
How to run live queries? or should i stick to js version?
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
I was wondering the ETA for when the PHP driver will be available for surrealdb?