Sample for https://redsms.ru service
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Redsms
data/image
samples
.gitignore
README.md
composer.json
config.php.dist
docker-compose.yml

README.md

Simple api wrapper for redsms service

To use the service you need to register and specify API key in the settings.

Configuration

Copy the sample configuration file.

cp config.php.dist config.php

Put your API key and other data in config.php

Testing API settings

Run an example local

 php -f samples/clientInfoSample.php

Run an example inside docker from the samples directory

docker-compose run php php -f samples/clientInfoSample.php