bita/message

Laravel Message Package with multiple providers
4,492 2
Install
composer require bita/message
Latest Version:2.4.1
License:MIT
Last Updated:Sep 25, 2025
Links: GitHub  ·  Packagist
Maintainer: farshadfakhar

Laravel Message Package

Hi, we support IpPanel and SmsIr providers that you can choose which one to use in bitamessage.php. also you can add new provider there!

How to install:

composer require bita/message

php artisan vendor:publish --provider="Bita\Message\MessageServiceProvider"

Setup:

add this line to your app.php providers :

Bita\Message\MessageServiceProvider::class

and add this line to your app.php aliases:

'Message' => Bita\Message\Facades\Message::class

After publish the package files you must add your provider configuration in .env

Like this:

IP PANEL

  • BITA_MESSAGE_IP_PANEL_ENDPOINT=your provider end point

  • BITA_MESSAGE_IP_PANEL_ORIGINATOR=your line number

  • BITA_MESSAGE_IP_PAENL_API_KEY=your api key

SMS IR

  • BITA_MESSAGE_SMS_IR_ENDPOINT=your provider end point

  • BITA_MESSAGE_SMS_IR_ORIGINATOR=your line number

  • BITA_MESSAGE_SMS_IR_API_KEY=your api key

  • BITA_MESSAGE_SMS_IR_SECRET_KEY=your secret key

SMS IR V2

  • BITA_MESSAGE_SMS_IR_V2_ORIGINATOR=your line number

  • BITA_MESSAGE_SMS_IR_V2_API_KEY=your api key

How To Use:

change default service in bitamessage.php and call provider configuration from .env in that. if you want to log messages in database,set logs = true and set the table name in bitamessage.php.

now to send message

Message::send($message, array $numbers);

to send message by pattern

Message::sendByPattern($pattern, $number, array $parameters);

to check delivery

Message::checkDelivery($tracker_id);

to get credit

Message::credit();

Related Packages

sendsms/sendsms-laravel

Use our SMS shipping solution to deliver the right information at the right time...

22,863 2
rinvex/laravel-authy

Rinvex Authy is a simple wrapper for Authy TOTP, the best rated Two-Factor Authe...

78,132 32
laravel-notification-channels/authy

Authy notification channel for Laravel, with the ability to send in-app, sms, an...

46,701 57
toplan/laravel-sms

A mobile phone number validation solution based on laravel

80,664 835