Download the PHP package hebinet/websms-client without Composer
On this page you can find all versions of the php package hebinet/websms-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hebinet/websms-client
More information about hebinet/websms-client
Files in hebinet/websms-client
Package websms-client
Short Description A lightweight PHP-client-library for using websms.com SMS services.
License MIT
Homepage https://github.com/hebinet/websms-client
Informations about the package websms-client
What is it?
A lightweight PHP-client-library for using websms.com SMS services. Reduces the complexity of network-communication between client and SMS gateway, to help business-customer save time and money for focusing on their business logic.
Why this fork
Rewrote complete SDK to meet the newest coding standards and utilize modern libraries.
Added the following improvements:
- Raised minimum required PHP version to 8.0+ (For PHP <8.0 use v1.0.7.7)
- Use Namespaces
- Switched from kebab-case to CamelCase for properties and methods
- Used famous and well tested GuzzleHttp library instead of plain Curl or fsockopen
- Added PHPDoc style comments
- Used parameter type hints in methods to ensure certain var types and removed unnecessary type checking
- Removed JSON.phps dependency and used native php json extension instead
- Raised client version to that one mentioned in the original readme file
But most of all, I did it for fun :)
Installation
composer require hebinet/websms-client
Example
and here the content of the original send_sms.php file "translated" to the new classes
Contributing
Please see CONTRIBUTING for details.
License
The MIT License (MIT). Please see License File for more information.