vvinners / movider
Movider Laravel Library
Requires
- php: ^7.4|^8.0
- illuminate/support: ^6.0|^7.0|^8.0
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
README
This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.
Installation
You can install the package via composer:
composer require vvinners/movider
Publish config file to app/config
php artisan vendor:publish --provider="VVinners\Movider\MoviderServiceProvider" --tag=config php artisan vendor:publish --provider="VVinners\Movider\MoviderServiceProvider" --tag=migration php artisan migrate --path=/database/migrations/2021_09_22_073143_create_movider_log_table.php
Put this to config/app.php if the package is not auto discovered
VVinners\Movider\MoviderServiceProvider::class
Usage
You can add Movider credentials into your .env file:
MOVIDER_API_KEY=************************ MOVIDER_API_SECRET=********************************
Demo
Send SMS API by passing message and phone number Last variable can be optional
use VVinners\Movider\Movider; $moviderProvider = new Movider; $response = $moviderProvider->sendMessage('Test', '60123456789', 'MOVIDER');
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email marktan@vvinners.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.