PHPackages                             magic-systems-io/laravel-notifyre-sms - 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. magic-systems-io/laravel-notifyre-sms

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

magic-systems-io/laravel-notifyre-sms
=====================================

A Notifyre wrapper for laravel

0.3.0(6mo ago)026MITPHPPHP ^8.3CI passing

Since Sep 3Pushed 6mo agoCompare

[ Source](https://github.com/magic-systems-io/laravel-notifyre-sms)[ Packagist](https://packagist.org/packages/magic-systems-io/laravel-notifyre-sms)[ RSS](/packages/magic-systems-io-laravel-notifyre-sms/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (9)Versions (10)Used By (0)

Notifyre Laravel Package
========================

[](#notifyre-laravel-package)

A Laravel package for sending SMS messages through the Notifyre API. Provides direct SMS sending, Laravel notification integration, CLI commands, and REST API endpoints with optional database persistence.

[![Tests](https://github.com/magic-systems-io/laravel-notifyre-sms/actions/workflows/tests.yml/badge.svg)](https://github.com/magic-systems-io/laravel-notifyre-sms/actions)[![Coverage Status](https://camo.githubusercontent.com/d360b87f162d55144724101316b6ee1acba035b96ceaaa647cfadf4e7ad6e119/68747470733a2f2f636f6465636f762e696f2f67682f6d616769632d73797374656d732d696f2f6c61726176656c2d6e6f7469667972652d736d732f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/magic-systems-io/laravel-notifyre-sms)

Jumpstart
---------

[](#jumpstart)

### 1) Install

[](#1-install)

```
composer require magic-systems-io/laravel-notifyre-sms
```

### 2) (Optional) Publish config

[](#2-optional-publish-config)

```
php artisan notifyre:publish-config
```

### 3) Configure `.env`

[](#3-configure-env)

```
php artisan notifyre:publish-env
```

Then edit your `.env` file:

```
NOTIFYRE_API_KEY=your_api_key_here
NOTIFYRE_WEBHOOK_SECRET=your_webhook_secret_here
# NOTIFYRE_LOG_LEVEL=debug  # Optional: emergency|alert|critical|error|warning|notice|info|debug
```

### 4) (Optional) Publish migration

[](#4-optional-publish-migration)

```
php artisan notifyre:publish-migration
```

### 5) Migrate (for persistence)

[](#5-migrate-for-persistence)

```
php artisan migrate
```

### 6) Send your first SMS

[](#6-send-your-first-sms)

```
use MagicSystemsIO\Notifyre\DTO\SMS\Recipient;
use MagicSystemsIO\Notifyre\DTO\SMS\RequestBody;
use MagicSystemsIO\Notifyre\Enums\NotifyreRecipientTypes;

notifyre()->send(new RequestBody(
    body: 'Hello World!',
    recipients: [new Recipient(NotifyreRecipientTypes::MOBILE_NUMBER->value, '+1234567890')]
));
```

Or via Artisan:

```
php artisan sms:send --message "Hello from Notifyre!" --recipient "+1234567890"
```

Endpoints (default prefix `/api/notifyre`)
------------------------------------------

[](#endpoints-default-prefix-apinotifyre)

- `POST /api/notifyre/sms` — Send SMS (201 on acceptance)
- `GET /api/notifyre/sms` — List local messages (requires sender on authenticated user)
- `GET /api/notifyre/sms/{id}` — Get local message
- `GET /api/notifyre/sms/notifyre` — List via Notifyre API (proxy)
- `GET /api/notifyre/sms/notifyre/{id}` — Get via Notifyre API (proxy)
- `POST /api/notifyre/sms/webhook` — Delivery callback handler

Commands
--------

[](#commands)

- `php artisan sms:send` — Send SMS
- `php artisan sms:list` — List/filter SMS (see `--help`)
- `php artisan notifyre:publish*` — Publish config/env snippets

Logging
-------

[](#logging)

The package creates a dedicated log channel (`notifyre`) that:

- Respects `APP_DEBUG` - defaults to `info` in production, `debug` in development
- Can be customized via `NOTIFYRE_LOG_LEVEL` in `.env`
- Falls back to your app's `LOG_LEVEL` if set
- Logs to `storage/logs/notifyre_sms.log` (or `.log` files based on your default channel config)

Requirements
------------

[](#requirements)

- PHP 8.3+
- Laravel 12.20+
- Notifyre API account (for `sms` driver)

Docs
----

[](#docs)

See the full documentation: [README](docs/README.md).

License
-------

[](#license)

MIT License — see [LICENSE](LICENSE.md).

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

[](#contributing)

See [CONTRIBUTING](CONTRIBUTING.md) .

Support
-------

[](#support)

- Read [docs](docs)
- Try examples in [usage](docs/usage)
- Open a GitHub issue if needed

Troubleshooting
---------------

[](#troubleshooting)

**Provider not auto-discovered?** If the package isn't working, manually register it in `bootstrap/providers.php`:

```
return [
    // Other Service Providers...
    MagicSystemsIO\Notifyre\Providers\NotifyreServiceProvider::class,
];
```

---

Made with ❤️ by [Magic Systems](https://magicsystems.io)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance66

Regular maintenance activity

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.4% 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 ~7 days

Recently: every ~13 days

Total

9

Last Release

198d ago

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/c33db3438483002d5fc1263fd868c804b58a9a7c05bf3677f9aaed1120f0e34b?d=identicon)[magic-systems-io](/maintainers/magic-systems-io)

---

Top Contributors

[![somethim](https://avatars.githubusercontent.com/u/93678404?v=4)](https://github.com/somethim "somethim (62 commits)")[![magic-systems-io](https://avatars.githubusercontent.com/u/156430858?v=4)](https://github.com/magic-systems-io "magic-systems-io (1 commits)")

---

Tags

laravelsmsnotifyre

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/magic-systems-io-laravel-notifyre-sms/health.svg)

```
[![Health](https://phpackages.com/badges/magic-systems-io-laravel-notifyre-sms/health.svg)](https://phpackages.com/packages/magic-systems-io-laravel-notifyre-sms)
```

###  Alternatives

[tzsk/sms

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

320244.3k6](/packages/tzsk-sms)[matthewbdaly/laravel-sms

A Laravel and Lumen integration for matthewbdaly/sms-client to enable sending SMS messages

3529.8k](/packages/matthewbdaly-laravel-sms)[juanparati/brevosuite

Complete Brevo integration with Laravel

1010.8k](/packages/juanparati-brevosuite)

PHPackages © 2026

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