Skip to content

mbs047/4Jawaly-Package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

4 Jawaly SMS

4 Jawaly SMS is a Laravel package that provides a method to use forjawaly API services, with a few simple lines of code.

downloads stars contributors releases issues latest-release

Installation

1. Require with Composer

- composer require guzzle/guzzle
- composer require devhereco/forjawaly

2. Add Service Provider (Laravel 5.4 and below)

Latest Laravel versions have auto dicovery and automatically add service provider - if you're using 5.4.x and below, remember to add it to providers array at /app/config/app.php:

// ...
Devhereco\ForJawaly\ServiceProvider::class,

3. env variables

FOR_JAWALY_APP_KEY=
FOR_JAWALY_SECRET=
FOR_JAWALY_SENDER=

Usages

1. One way messages

This function will allow you to send messages to selected numbers.

Examples:

use Devhereco\ForJawaly\ForJawaly;

ForJawaly::send('966555644047', 'Test Message');
// ForJawaly::send(Receiver Number, Message);

2. Get Account Balance

This function will show ForJawaly account balance in your backend.

Examples:

use Devhereco\ForJawaly\ForJawaly;

ForJawaly::balance();

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages