smartmessages / phpclient
Client wrapper for the Smartmessages.net web API
Installs: 19
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/smartmessages/phpclient
Requires
- php: ^8.0.0
- ext-openssl: *
- guzzlehttp/guzzle: ^7.0.0
- guzzlehttp/psr7: ^2.8.0
Requires (Dev)
- squizlabs/php_codesniffer: ^3.13.5
README
This contains a PHP client library and example code for the smartmessages.net email management service's web API.
Please feel free to suggest modifications, submit tickets and pull requests in our GitHub repo – these libraries are intended to make your life easier!
You can (and should) add this to your project using composer:
composer require smartmessages/phpclient=~3.0
Installation
To install the library and its dependencies, run composer install, then load the autoloader with require 'vendor/autoload.php';.
Note that because this is a library, it doesn't have a composer.lock file, in accordance with composer's guidelines, and will use whatever shared dependencies you might have, which is likely only guzzle, so long as they match the version constraints in composer.json.
Version History
Version 3.0 updated to Guzzle 7.0, and requires PHP 8.0+.
Version 2.0 was rewritten to use Guzzle as its HTTP client, providing faster, more robust processing and PSR-7 compatibility with many frameworks.
API Documentation
Complete documentation for the API can be found in our help pages
See the accompanying LICENSE file for terms of use (MIT).