PHPackages                             altrntv/sms-aero - 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. altrntv/sms-aero

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

altrntv/sms-aero
================

SMS AERO Notifications channel for Laravel.

v1.0.0(yesterday)02↑2900%MITPHPPHP ^8.3CI passing

Since Jun 26Pushed yesterdayCompare

[ Source](https://github.com/altrntv/sms-aero)[ Packagist](https://packagist.org/packages/altrntv/sms-aero)[ Docs](https://github.com/altrntv/sms-aero)[ RSS](/packages/altrntv-sms-aero/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (7)Versions (2)Used By (0)

Sms Aero notifications channel for Laravel
==========================================

[](#sms-aero-notifications-channel-for-laravel)

This package makes it easy to send notifications using [smsaero.ru](https://smsaero.ru) with Laravel.

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up the Sms Aero service](#setting-up-the-sms-aero-service)
- [Usage](#usage)
    - [Available Message methods](#available-message-methods)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

Install this package with Composer:

```
composer require altrntv/sms-aero
```

### Setting up the Sms Aero service

[](#setting-up-the-sms-aero-service)

Add your Sms Aero Api ID and Host to your `config/services.php`:

```
...
'sms-aero' => [
    'username'  => env('SMS_AERO_USERNAME'),
    'password' => env('SMS_AERO_PASSWORD'),
    'host' => env('SMS_AERO_HOST', 'https://gate.smsaero.ru/v2'),
],
...
```

Usage
-----

[](#usage)

You can use the channel in your `via()` method inside the notification:

```
use NotificationChannels\SmsAero\SmsAeroMessage;
use NotificationChannels\SmsAero\SmsAeroChannel;
use Illuminate\Notifications\Notification;

class OrderStatus extends Notification
{
    public function via(mixed $notifiable): array
    {
        return [
            SmsAeroChannel::class,
            // or
            'sms-aero',
        ];
    }

    public function toSmsAero(mixed $notifiable): SmsAeroMessage
    {
        return SmsAeroMessage::create('Message', 'Sender Name');
    }
}
```

In your notifiable model, make sure to include a `routeNotificationForSmsAero()` method, which returns a phone number or an array of phone numbers.

```
public function routeNotificationForSmsAero(): ?string
{
    return $this->phone;
}
```

### Available Message methods

[](#available-message-methods)

MethodDescription`number(string $number)`Set a phone number.`dateSend(int $dateSend)`The date for the delayed sending of the message in unixtime format.`callbackUrl(string $callbackUrl)`The URL for sending the message status in the format `https://your.site` in response, the system waits for the 200 status.`callbackFormat(string $callbackFormat)`If `callbackFormat=JSON` is set, data in JSON format will be sent to `callbackUrl`, otherwise `x-www-form-urlencoded` is used.`shortLink(?int $shortLink)`If `shortLink=1`, all links will be shortened automatically.Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Pavel Dykin](https://github.com/altrntv)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance100

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/28820687?v=4)[Paul](/maintainers/altrntv)[@altrntv](https://github.com/altrntv)

---

Top Contributors

[![altrntv](https://avatars.githubusercontent.com/u/28820687?v=4)](https://github.com/altrntv "altrntv (3 commits)")

---

Tags

laravelnotificationssms-aerosms-aero-apilaravelnotificationssms-aerosmsaero

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/altrntv-sms-aero/health.svg)

```
[![Health](https://phpackages.com/badges/altrntv-sms-aero/health.svg)](https://phpackages.com/packages/altrntv-sms-aero)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1232.2k16](/packages/fleetbase-core-api)

PHPackages © 2026

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