Download the PHP package robust-tools/resala without Composer
On this page you can find all versions of the php package robust-tools/resala. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download robust-tools/resala
More information about robust-tools/resala
Files in robust-tools/resala
Package resala
Short Description Laravel SMS Gateway Integration Package
License MIT
Homepage https://github.com/RobustaStudio/Resala
Informations about the package resala
PHP & Laravel SMS Gateway Integration Package
Resala is a PHP & Laravel Package, (Designed to add support to your laravel or just native php app for sending SMS using local operators in the MENA region Like Vodafone, Infobip, Connekio, VectoryLink, Community Ads, Gateway SA, BrandEncode).
Resala not just tied to use inside Laravel you can hook it up in any php code
Supported Providers
- Vodafone SMS Gateway
- Connekio SMS Gateway
- Infobip SMS Gateway
- Vectory Link SMS Gateway
- Community Ads SMS Gateway
- Gateway SA SMS Gateway
- BrandEncode SMS Gateway
Installation
You can install the package via composer:
Laravel Usage.
Configure
publish the config file with:
This is the contents of the published config file:
Available Commands:
This adds vodafone environment variables to your .env file.
This adds connekio environment variables to your .env file.
This adds infobip environment variables to your .env file.
This adds vectory_link environment variables to your .env file.
This adds community_ads environment variables to your .env file.
This adds brandencode environment variables to your .env file.
This adds gateway_sa environment variables to your .env file.
Usage
You can inspect the returned response from your sms provider through:
you can optionally change the driver using the via method
Outside Laravel
You need to add a config file named resala.php in your project directory the contents of the config file must match the schema of the package config file you can find it HERE.
just replace the env(values) with your driver config values.
IF no configuration file is being passed a InvalidArgumentException will be thrown.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Mohamed AbdElaziz
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of resala with dependencies
ext-dom Version *
ext-json Version *
ext-simplexml Version *
guzzlehttp/guzzle Version ^7.5
illuminate/support Version ^9.0|^10