Download the PHP package smart-sender/php-sdk without Composer
On this page you can find all versions of the php package smart-sender/php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download smart-sender/php-sdk
More information about smart-sender/php-sdk
Files in smart-sender/php-sdk
Package php-sdk
Short Description PHP library for the Smart Sender API.
License MIT
Homepage https://smartsender.com/
Informations about the package php-sdk
SmartSender PHP bindings
The Smart Sender PHP library provides convenient access to the Smart Sender API from applications written in the PHP language. It includes a pre-defined set of classes for API resources that initialize themselves dynamically from API responses which makes it compatible with a wide range of versions of the Smart Sender API.
Requirements
PHP 7.4 and later.
Composer
You can install the bindings via Composer. Run the following command:
To use the bindings, use Composer's autoload:
Dependencies
The bindings require the following extensions in order to work properly:
The bindings require the following packages in order to work properly:
guzzlehttp/guzzle
, version 7.0.1 or higher.
Getting started
Supported services:
-
Console:
- Messenger
Simple usage looks like:
Documentation
See the PHP API docs.
Configuration
Managing variables
Note Use Base URI setting only if the Smart Sender API URI has changed or you are using a shim on your server that is similar to the Smart Sender API.
Default manager
Note Change the access token before calling the Smart Sender API methods. By default, a non-existent token is specified in the config, calls with which will give an error.
``