mr687/wamazing

A Wrapper Wamazing API for Laravel

dev-development 2021-02-27 07:09 UTC

This package is not auto-updated.

Last update: 2024-09-29 00:52:19 UTC


README

Latest Version on Packagist Build Status Quality Score Total Downloads

Wamazing for Laravel

Installation

You can install the package via composer:

composer require mr687/wamazing

The service provider should automatically register for Laravel > 5.4.

For Laravel < 5.5, open config/app.php and, within the providers array, append:

Mr687\Wamazing\Providers\WamazingServiceProvider::class

Configuration file

Publish the configuration file

php artisan vendor:publish --provider="Mr687\Wamazing\Providers\ZoomServiceProvider"

This will create a wamazing/config.php within your config directory, where you add value for secret token.

....

WAMAZING_TOKEN=
WAMAZING_DEVICE=

Usage

Send Text.

use Mr687\Wamazing\Facades\Wamazing;

Wamazing::chat()
  ->to('6282325xxx')
  ->message('<b>Hai</b>')
  ->sendText();

Testing

composer test

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 daphinokioo@gmail.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.