vvinners/movider

Movider Laravel Library

1.1.0 2021-09-22 10:44 UTC

This package is auto-updated.

Last update: 2022-05-22 12:12:27 UTC


README

Latest Version on Packagist Total Downloads GitHub Actions

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.