PHPackages                             lotuashvili/laravel-smsoffice - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. lotuashvili/laravel-smsoffice

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

lotuashvili/laravel-smsoffice
=============================

SMSOffice.ge Service and Notification channel for Laravel

v1.4(3y ago)152841PHPPHP &gt;=7.0.0CI failing

Since Nov 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Lotuashvili/laravel-smsoffice)[ Packagist](https://packagist.org/packages/lotuashvili/laravel-smsoffice)[ RSS](/packages/lotuashvili-laravel-smsoffice/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (7)Used By (0)

Laravel SmsOffice
=================

[](#laravel-smsoffice)

[![Latest Stable Version](https://camo.githubusercontent.com/34736744e72229b33dace10b4a940be95b6d7f17d9d4c8381941a49450c545f3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6f747561736876696c692f6c61726176656c2d736d736f66666963652e737667)](https://packagist.org/packages/lotuashvili/laravel-smsoffice)[![Total Downloads](https://camo.githubusercontent.com/643b2196c4578fe0cb88e87a8035cf7e407e18d2b9c43a7083e16e39e5fe70f3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c6f747561736876696c692f6c61726176656c2d736d736f66666963652e737667)](https://packagist.org/packages/lotuashvili/laravel-smsoffice)[![Downloads Month](https://camo.githubusercontent.com/5bb3aea6d86ad7c025fd8f7b7e97822c863c6eef1d73bc4150bc826f7aabb4ac/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6c6f747561736876696c692f6c61726176656c2d736d736f66666963652e737667)](https://packagist.org/packages/lotuashvili/laravel-smsoffice)

This package allows you to send SMS messages with SmsOffice.ge API

You can send sms with notification class or directly with SmsOffice class

[![Laravel SmsOffice](cover.png)](cover.png)

Table of Contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Development Mode Config](#development-mode-config)
- [Usage](#usage)

Installation
------------

[](#installation)

```
composer require lotuashvili/laravel-smsoffice

```

#### For Laravel &lt;= 5.4

[](#for-laravel--54)

If you're using Laravel 5.4 or lower, you have to manually add a service provider in your `config/app.php` file. Open `config/app.php` and add `SmsOfficeServiceProvider` to the `providers` array.

```
'providers' => [
    # Other providers
    Lotuashvili\LaravelSmsOffice\SmsOfficeServiceProvider::class,
],
```

Then run:

```
php artisan vendor:publish --provider="Lotuashvili\LaravelSmsOffice\SmsOfficeServiceProvider"

```

Place your api key and sender name in `config/smsoffice.php` file

Development mode config
-----------------------

[](#development-mode-config)

If you want to use log in development instead of sending real sms, then add `SMSOFFICE_DRIVER=log` to your `.env` file

Usage
-----

[](#usage)

### Send with notification class

[](#send-with-notification-class)

In `User` class, add `routeNotificationForSms()` method and return phone number of user

```
class User extends Authenticatable
{
    # Code...

    public function routeNotificationForSms()
    {
        return $this->phone;
    }
}
```

Create notification

```
php artisan make:notification FooNotification

```

In our newly created notification, import `SmsOfficeChannel` and add it to `via()` method. Write notification content in `toSms()` method

```
use Illuminate\Notifications\Notification;
use Lotuashvili\LaravelSmsOffice\SmsOfficeChannel;

class FooNotification extends Notification
{
    public function via($notifiable)
    {
        return [SmsOfficeChannel::class];
    }

    public function toSms($notifiable)
    {
        return 'Test Notification';
    }
}
```

And then send notification to user

```
$user->notify(new FooNotification)
```

### Send directly without notification

[](#send-directly-without-notification)

You have to inject or initialize `SmsOffice` class and then call `send` function

```
use Lotuashvili\LaravelSmsOffice\SmsOffice;

public function sendSms(SmsOffice $smsoffice)
{
    $smsoffice->send('599123123', 'Test Message');
}
```

### Get Balance

[](#get-balance)

```
use Lotuashvili\LaravelSmsOffice\SmsOffice;

public function getBalance(SmsOffice $smsoffice)
{
    $smsoffice->balance();
}
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~299 days

Recently: every ~369 days

Total

6

Last Release

1235d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/aa7869c1a2c844dff405f10d28e1f526406c2bdc38c1c5dce81fbf42e3171d8a?d=identicon)[lotuashvili](/maintainers/lotuashvili)

---

Top Contributors

[![Lotuashvili](https://avatars.githubusercontent.com/u/6238393?v=4)](https://github.com/Lotuashvili "Lotuashvili (16 commits)")

### Embed Badge

![Health badge](/badges/lotuashvili-laravel-smsoffice/health.svg)

```
[![Health](https://phpackages.com/badges/lotuashvili-laravel-smsoffice/health.svg)](https://phpackages.com/packages/lotuashvili-laravel-smsoffice)
```

###  Alternatives

[spatie/laravel-failed-job-monitor

Get notified when a queued job fails

1.0k2.6M4](/packages/spatie-laravel-failed-job-monitor)[vemcogroup/laravel-sparkpost-driver

SparkPost driver to use with Laravel 6.x|7.x|8.x|9.x|10.x

421.7M1](/packages/vemcogroup-laravel-sparkpost-driver)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[spatie/mailcoach

Self-host Mailcoach

4007.0k](/packages/spatie-mailcoach)[guanguans/notify

Push notification SDK(AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

682104.9k7](/packages/guanguans-notify)[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
