Send SMS with easy using BEEM

Overview

beem-sms-api

Send SMS with easy using BEEM

Installation

You must be using composer to be able to use this library. If composer 1.x is installed, make sure you upgrade to 2.0 to avoid installation problems. Check version with composer -V

once setup run the command at the root of your project to install the library

composer require hosannahighertech/beem-sms-api

Usage

To send SMS just create instance of the client passing Key and Secret

$sms = new Client('YOUR_KEY_HERE', 'YOUR_SECRET_HERE');

Then create new message. First Parameter is Sender ID or Mobile number of the sender. Next parameter is text of the message.

$message = new Message('SENDER_ID_OR_MOBILE_NO', 'This is my SMS text body');

Next add Receivers number. First parameter is your special ID (see BEEM Docs) and the other one is receiver's mobile.

$message->addSender('SPECIAL_ID', '255xxxxxx');

Finally send the message. If failed, the method getLastMessage() should contain the error message

$isSent = $sms->send($message);
if (!$isSent) {
    var_dump($sms->getLastError());// do something useful with error
}

Contributing

Contribute by opening issues when you encounter a problem or when asking for feature. We also receive PR for enhancement or bug fixes.

You might also like...
SMS service provider for Laravel

laravel-sms SMS service provider for Laravel and Lumen. Uses SMS Client to enable sending SMS messages using the following drivers: nexmo clockwork te

A package for verifying a user via call or SMS

Verify your users by call or SMS It's a common practice: a user signs up, you send an SMS to their phone with a code, they enter that code in your app

An SMS notification channel for the PHP framework Laravel.

Laravel SMS notification channel An SMS notification channel for the PHP framework Laravel. Supported SMS gateways: 46elks Cellsynt Telenor SMS Pro Tw

:computer: Send notifications to your desktop directly from your PHP script
:computer: Send notifications to your desktop directly from your PHP script

About JoliNotif JoliNotif is a cross-platform PHP library to display desktop notifications. It works on Linux, Windows or MacOS. Requires PHP = 7.2 (

A PHP Library to easily send push notifications with the Pushwoosh REST Web Services.

php-pushwoosh A PHP Library to easily send push notifications with the Pushwoosh REST Web Services. First sample, creating a Pushwoosh message // Crea

Notifications in PHP (notify-send, growl, etc) like that.

#Nod Notifications in PHP (notify-send, growl, etc) like that. ##Examples Letting Nod figure out the best Adapter to use (not recommend ATM, only work

Send push notifications to apple devices (iPhone, iPad, iPod).

Apple Apn Push Send push notifications to apple devices (iPhone, iPad, iPod). Support authenticators: Certificate Json Web Token Supported protocols:

This package allows you to send notifications to Microsoft Teams.
This package allows you to send notifications to Microsoft Teams.

Teams connector This package allows you to send notifications to Microsoft Teams. Installation You can install the package using the Composer package

Larafirebase is a package thats offers you to send push notifications or custom messages via Firebase in Laravel.
Larafirebase is a package thats offers you to send push notifications or custom messages via Firebase in Laravel.

Introduction Larafirebase is a package thats offers you to send push notifications or custom messages via Firebase in Laravel. Firebase Cloud Messagin

Releases(1.0.1)
Owner
Hosanna Higher Technologies
Hosanna Higher Technologies
Implementations for different SMS providers for EspoCRM. Can be used for 2-factor authentication or automatic SMS sending via Workflow and BPM tools.

SMS Providers for EspoCRM An installable extension. Supported SMS Providers Twilio Spryng sms77 Setting up Install the extension. At Administration >

EspoCRM - Open Source CRM 11 Nov 30, 2022
@Authy notification channel for @Laravel, with the ability to send in-app, sms, and call verification tokens.

Authy Notification Channel for Laravel Authy notification channel for Laravel, with the ability to send in-app, sms, and call verification tokens. Tab

Laravel Notification Channels 57 Dec 19, 2022
laravel send sms. kavenegar, ghasedak

Requirements laravel >= 7 Installation composer require ehsanmoradi/laravel-sms Publish the configuration file (this will create a laravel-sms.php

ehsan moradi 3 Feb 6, 2022
This package makes it easy to send notifications using RocketChat with Laravel 9.0+.

laravel-rocket-chat-notifications Introduction This package makes it easy to send notifications using RocketChat with Laravel 9.0+. Contents Installat

Team Nifty GmbH 25 Dec 1, 2022
This package makes it easy to send web push notifications with Laravel.

Web push notifications channel for Laravel This package makes it easy to send web push notifications with Laravel. Installation You can install the pa

Laravel Notification Channels 564 Jan 3, 2023
Sends notifications via one or more channels (email, SMS, ...).

Notifier Component The Notifier component sends notifications via one or more channels (email, SMS, ...). Resources Documentation Contributing Report

Symfony 610 Jan 3, 2023
Fake SMS (as email during development) Notifier Bridge

Fake SMS Notifier Provides Fake SMS (as email during development) integration for Symfony Notifier. DSN example FAKE_SMS_DSN=fakesms+email://default?t

Symfony 17 May 23, 2022
Provides Turbo SMS integration for Symfony Notifier.

TurboSms Notifier Provides TurboSms integration for Symfony Notifier. DSN example TURBOSMS_DSN=turbosms://AUTH_TOKEN@default?from=FROM where: AUTH_TO

Symfony 5 May 23, 2022
Laravel SMS Notification Channel

Laravel SMS Notification Channel Installation composer require guangda/laravel-sms-notification-channel env 配置 SMS_PROVIDER=yunpian SMS_SIGNATURE=【签名

Guangda 6 Dec 29, 2021
all geteways (SMS&Payments geteways) By (Mahmoud Ibrahim)

All gateways payments & SMS package name: gateways package version: v1.1 author : mahmoud ibrahim description :provide gateways payments and SMS to in

php anonymous 24 Dec 26, 2022