
Hi Friends. I am currently working on addressing an issue related to the Semaphore messaging adapter in the Appwrite project, specifically outlined in this GitHub Issue - https://github.com/appwrite/appwrite/issues/7714
To provide some context, I have successfully created an adapter for Semaphore. However, when attempting to test it by instantiating an object of the newly created Semaphore messaging adapter class within the same file, I encountered an error message:
PHP Fatal error: Uncaught Error: Class "Utopia\Messaging\Adapter\SMS" not found in /home/chaitanya/githubClonedProjects/messaging/src/Utopia/Messaging/Adapter/SMS/Semaphore.php:12
I don't really why the import is failing. Unfortunately, I am currently facing a roadblock in resolving this issue. I would sincerely appreciate any guidance or assistance you could provide to help overcome this blocker. Thank you🙂
cc: @Steven

Please, don't tag people as it can be a bit disruptive 😅

@D5 , Steven assigned this issue to me. So, to ensure Steven is updated on the progress of this issue, I tagged him. Would it be advisable to remove the tag?

It's done now - removing the tag will not remove the ping

Steven would have seen the post anyway 😁

How are you creating the new object?

My bad. I will make sure not to tag anyone from next time in any support post ideclon and D5

No worries, just for the future. It's better to give some update inside the GitHub issue so when the team takes a look into it can see the progress 😅

Sure, I will do that.

like this ideclon,
$semaphore = new Semaphore($apikey, $number, $message, $senderName);

Could you please show the rest of the Adapter? (You could push it up to your cloned repo on Github)

:appwritepeepo:

Dear ideclon, This is the Link to the branch
Link to the commit that consists of my changes
Could you please check?
Recommended threads
- Is anyone able to use createPush with mu...
Hello everyone! I use the createPush method in a function to send push messages to users (using FCM). The code below works fine. You can see I'm sending a push...
- Various Issues with Selfhosted Instance
When Creating sites, applications and messages i get different errors in Appwrite: When adding Site: Cannot access offset of type string on string When buildi...
- Unable to create push providers - FCM or...
Currently unable to create a push provider for FCM or APNS.... https://github.com/appwrite/console/issues/2045 When uploading a file... FCM = Valid file retu...
