utopia-php / messaging

Lite & fast micro PHP messaging library that is **easy to use**.
MIT License
14 stars 64 forks source link

Added Termii messaging adapter #52

Open biswajit287 opened 8 months ago

biswajit287 commented 8 months ago

What does this PR do?

This Pull Request (PR) adds Termii messaging adapter along with tests.

Test Plan

  1. Create Your Termii Account

    • Sign up for an account on Termii.
  2. Obtain API Key

    • Log in to your Termii dashboard and go to "Api console" under Developers.
    • Retrieve your API key from this section.
  3. Create Sender Id (For Sending message)

    • To register the sender id, you need to apply in "SMS Sender ids" section under Rental.
  4. Set Environment Variables and Run E2E Tests

    • Before running end-to-end (E2E) tests, make sure you have the following environment variables set:

      • TERMII_API_KEY
      • TERMII_TO
      • TERMII_FROM
    • Execute the following command to run the E2E tests:

      ./vendor/bin/phpunit --verbose tests/e2e/SMS/TermiiTest.php

Related PRs and Issues

Closes https://github.com/appwrite/appwrite/issues/6864

Have you read the Contributing Guidelines on issues?

Yes

tessamero commented 7 months ago

Hello @biswajit287

Thank you for your contribution to Hacktoberfest 2023! We've noticed that your PR is still pending and requires some updates based on our engineering team's feedback.

We would love to see your PR successfully merged and send you the Appwrite swag as a token of appreciation. To remain eligible for the swag, please address the pending suggestions by Friday, November 17th. If the PR isn't updated by then, we will unfortunately have to close it due to the end of the Hacktoberfest event.

biswajit287 commented 7 months ago

Hi @stnguyen90 , I'll not be able to attach sreenshots of succesfull test as I'm unable to test the service anymore. My account balance is low. Termii does not provide free testing and since I am using from India cost is high.

Exception: {"message":"Insufficient balance"}

gewenyu99 commented 2 months ago

Hey there! There were a lot of big PRs during this Hacktoberfest, and we wanted to give everyone ample time to collaborate with our engineering team. If you were able to merge your PRs during October, amazing. If it’s still not merged, don’t worry about it either. Either way, we’ve got your Hacktoberfest swag minted and ready to ship.

Please comment with your Discord username here so we can contact you about your shipping information to deliver your Hacktoberfest swag.

biswajit287 commented 2 months ago

Hi @gewenyu99, My discord username is biswajit27

gewenyu99 commented 2 months ago

Will reach out soon. Compiling everyone's user names. Thank you so much!