This repository contains code for integrating an SMS gateway into the project to send OTP. With this integration, you can send SMS messages programmatically from your application.
-
Clone this repository to your local machine.
-
Install the required dependencies.
-
Configure the SMS gateway credentials in the
config.php
file. -
Use the provided functions in your code to send SMS messages.
// Send SMS
$result = SmsApi::send('+1234567890', '74749');
## Configuration
In the config.php file, provide your SMS gateway credentials:
- API Key: Your SMS gateway API key.
- Sender ID: Your sender ID or phone number.
- Endpoint: The URL of the SMS gateway API endpoint.
In this README.md file:
- The usage section explains how to use the repository, including cloning, installing dependencies, configuring, and using the provided functions.
- An example code snippet demonstrates how to use the provided functions to send an SMS message.
- The configuration section instructs users on how to configure their SMS gateway credentials.
- The warning section is highlighted in bold and emphasizes that the integration should only be used for development purposes and not in production.
- Finally, a license section states the project's license.
## Contribute
Contributions are welcome! Here are some ways you can contribute:
- Report bugs
- Suggest new features
- Fix issues and submit pull requests
### Contributors:
![LADYHART](https://github.com/LADYHART.png?size=50)
[LADYHART](https://github.com/LADYHART)
This section now includes a list of contributors, with "LADYHART" as the first contributor. You can add more contributors in a similar format as needed.