Download the PHP package capcom6/android-sms-gateway without Composer
On this page you can find all versions of the php package capcom6/android-sms-gateway. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download capcom6/android-sms-gateway
More information about capcom6/android-sms-gateway
Files in capcom6/android-sms-gateway
Download capcom6/android-sms-gateway
More information about capcom6/android-sms-gateway
Files in capcom6/android-sms-gateway
Vendor capcom6
Package android-sms-gateway
Short Description Provides access to Android SMS Gateway API
License Apache-2.0
Package android-sms-gateway
Short Description Provides access to Android SMS Gateway API
License Apache-2.0
Please rate this library. Is it a good library?
Informations about the package android-sms-gateway
π± SMS Gateway for Androidβ’ PHP API Client
A modern PHP client for seamless integration with the SMS Gateway for Android API. Send SMS messages, manage devices, and configure webhooks through your PHP applications with this intuitive library.
π Table of Contents
- π± SMS Gateway for Androidβ’ PHP API Client
- π Table of Contents
- β¨ Features
- βοΈ Prerequisites
- π¦ Installation
- π Quickstart
- Sending an SMS
- Managing Devices
- π Full API Reference
- Client Initialization
- Core Methods
- Builder Methods
- π Security Notes
- Best Practices
- Encryption Support
- π₯ Contributing
- Development Setup
- π License
β¨ Features
- Builder Pattern: Fluent interface for message and settings configuration
- PSR Standards: Compatible with any PSR-18 HTTP client
- Comprehensive API: Access to all SMS Gateway endpoints
- Error Handling: Structured exception management
- Type Safety: Strict typing throughout the codebase
- Encryption Support: End-to-end message encryption
βοΈ Prerequisites
π¦ Installation
π Quickstart
Sending an SMS
Managing Devices
π Full API Reference
Client Initialization
Core Methods
Category | Method | Description |
---|---|---|
Messages | SendMessage(Message $message) |
Send SMS message |
GetMessageState(string $id) |
Get message status by ID | |
RequestInboxExport(MessagesExportRequest $request) |
Request inbox export via webhooks | |
Devices | ListDevices() |
List registered devices |
RemoveDevice(string $id) |
Remove device by ID | |
System | HealthCheck() |
Check API health status |
GetLogs(?string $from, ?string $to) |
Retrieve system logs | |
Settings | GetSettings() |
Get account settings |
PatchSettings(Settings $settings) |
Partially update account settings | |
ReplaceSettings(Settings $settings) |
Replace account settings | |
Webhooks | ListWebhooks() |
List registered webhooks |
RegisterWebhook(Webhook $webhook) |
Register new webhook | |
DeleteWebhook(string $id) |
Delete webhook by ID |
Builder Methods
π Security Notes
Best Practices
-
Never store credentials in code - Use environment variables:
- Use HTTPS - Ensure all API traffic is encrypted
- Validate inputs - Sanitize phone numbers and message content
- Rotate credentials - Regularly update your API credentials
Encryption Support
π₯ Contributing
We welcome contributions! Please follow these steps:
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Development Setup
π License
This library is open-sourced software licensed under the Apache-2.0 license.
Note: Android is a trademark of Google LLC. This project is not affiliated with or endorsed by Google.
All versions of android-sms-gateway with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
php-http/discovery Version ^1.17
psr/http-client-implementation Version ^1.0
php-http/discovery Version ^1.17
psr/http-client-implementation Version ^1.0
The package capcom6/android-sms-gateway contains the following files
Loading the files please wait ....