Download the PHP package snappmarket/smnotif-php-bridge without Composer
On this page you can find all versions of the php package snappmarket/smnotif-php-bridge. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package smnotif-php-bridge
SnappMarket Notification Service PHP Bridge
This package developed to use SnappMarket Notification Service.
To see full documentation check:
- TEST : TEST Documentations
- STAGING : STAGING Documentations
- PRODUCTION : PRODUCTION Documentations
(note : Don't forget to set Swagger-Token as request header. Value of Swagger-Token is the api key you can get it from Snappmarket Notifier Service)Requirements
PHP >= 7.2.0
JSON PHP Extension
installation
require package inside your
composer.json
file.
$ composer require snappmarket/smnotif-php-bridge
Basic Usage To Send SMS Notification
You can use it inside a raw php file or project or a php framework like Laravel or Symfony.
The NotifierApi
class takes four parameters.
$api_key
: The Api Key that your get from Notifier Service.$api_version
: The api version that you are using ex:1$is_secure
: if true call service with 'https' else calls with 'http'.$app_env
: The application environment that you are using (includingNotifierApi::PRODUCTION
,NotifierApi::STAGE
,NotifierApi::TEST
)1- raw php file
2- inside php class
Basic Usage To Send PUSH Notification
You can use it inside a raw php file or project or a php framework like Laravel or Symfony.
The NotifierApi
class takes four parameters.
$api_key
: The Api Key that your get from Notifier Service.$api_version
: The api version that you are using ex:1$is_secure
: if true call service with 'https' else calls with 'http'.$app_env
: The application environment that you are using (includingNotifierApi::PRODUCTION
,NotifierApi::STAGE
,NotifierApi::TEST
)
Examples
- To register a new sms template check Sms Template Examples
- More examples to send sms notifications Send Sms Notifications Examples
All versions of smnotif-php-bridge with dependencies
PHP Build Version
Package Version
The package snappmarket/smnotif-php-bridge contains the following files
Loading the files please wait ....