spaaro / spaaro-ws
There is no license information available for the latest version (dev-main) of this package.
this package helps to integrate spaaro services in php applications
dev-main
2023-07-13 16:29 UTC
Requires
This package is auto-updated.
Last update: 2024-12-13 19:38:01 UTC
README
Installation
First
you must visit spaaro and get access key to use this service
You can install the package via composer
composer require spaaro/spaaro-ws
Publish the configuration file
php artisan vendor:publish --provider="Spaaro\SpaaroWsServiceProvider"
Access
Add your access key to your .env
file with key SPAARO_ACCESS_KEY
Usage
You can send message like this
/** * @param string $message * @param string $mobile * @return \Spaaro\Response\WsResponse */ spaaro()->sendMessage('message','mobileNumberWithCountryCode');