PHPackages                             alhelwany/laravel-mtn - 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. alhelwany/laravel-mtn

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

alhelwany/laravel-mtn
=====================

A simple Laravel notification Channel that utilizes MTN Syria services to send SMS

v1.0.2(1y ago)016[5 PRs](https://github.com/alhelwany/laravel-mtn/pulls)MITPHPPHP ^8.2CI passing

Since Aug 14Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/alhelwany/laravel-mtn)[ Packagist](https://packagist.org/packages/alhelwany/laravel-mtn)[ Docs](https://github.com/alhelwany/laravel-mtn)[ GitHub Sponsors](https://github.com/Alhelwany)[ RSS](/packages/alhelwany-laravel-mtn/feed)WikiDiscussions main Synced 1mo ago

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

Laravel SMS Gateway for MTN Syria
=================================

[](#laravel-sms-gateway-for-mtn-syria)

[![Latest Version on Packagist](https://camo.githubusercontent.com/cde7f53695616685a0a593fd71c6939e88195485b1cb94e708cc45dff822f83f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616c68656c77616e792f6c61726176656c2d6d746e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/alhelwany/laravel-mtn)[![GitHub Tests Action Status](https://camo.githubusercontent.com/13f80854cd018aa10c3a2712f47059e3f1ab85f048975ab5ef2180e4b5bdaf37/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f616c68656c77616e792f6c61726176656c2d6d746e2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/alhelwany/laravel-mtn/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/d3981cdfa730b74b63e2769b317b088d883be201f004cf852f2a835f50ab950d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f616c68656c77616e792f6c61726176656c2d6d746e2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/alhelwany/laravel-mtn/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/4261a80afbeab645698f82e5c4fee020bcfd70c5afc588f600cc20505c6e6db9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616c68656c77616e792f6c61726176656c2d6d746e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/alhelwany/laravel-mtn)

A simple Laravel notification Channel that utilizes MTN Syria services to send SMS

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

[](#installation)

You can install the package via composer:

```
composer require alhelwany/laravel-mtn
```

You can publish the config file with:

```
php artisan vendor:publish --tag="mtn-config"
```

This is the contents of the published config file:

```
return [
    'url' => env('MTN_GATEWAY_URL', 'https://services.mtnsyr.com:7443/General/MTNSERVICES/ConcatenatedSender.aspx'),
    'username' => env('MTN_USERNAME', null),
    'password' => env('MTN_PASSWORD', null),
    'from' => env('MTN_FROM', null),
];
```

Usage
-----

[](#usage)

```
use Alhelwany\LaravelMtn\Enums\Lang;
use Alhelwany\LaravelMtn\Interfaces\MTNNotification;
use Illuminate\Notifications\Notification;
use Alhelwany\LaravelMtn\Channels\MTNChannel;

class MyNotification extends Notification implements MTNNotification
{

    public function via(object $notifiable): array
    {
        return [MTNChannel::class];
    }
    public function toText(): string
    {
        return "Hello";
    }
    public function getLang(): Lang
    {
        return Lang::EN;
    }
}
```

```
use Illuminate\Database\Eloquent\Model;
use Alhelwany\LaravelMtn\Interfaces\MTNNotifiable;

class User extends Model implements MTNNotifiable
{
    public function getPhone(): string
    {
        return $this->phone;
    }
}
```

```
$user->notify(new MyNotification);
```

Testing
-------

[](#testing)

```
composer test
```

Credits
-------

[](#credits)

- [Mhd Ghaith Alhelwany](https://github.com/115778766+alhelwany)

License
-------

[](#license)

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

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance66

Regular maintenance activity

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 68.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 ~2 days

Total

3

Last Release

632d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/64a2a88bd98dc1ddd6dbbe3aafc776e1d868b0cc717b0c0332f76d341f054024?d=identicon)[mhdghaithalhelwany](/maintainers/mhdghaithalhelwany)

---

Top Contributors

[![alhelwany](https://avatars.githubusercontent.com/u/115778766?v=4)](https://github.com/alhelwany "alhelwany (13 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (3 commits)")

---

Tags

laravelAlhelwanylaravel-mtn

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/alhelwany-laravel-mtn/health.svg)

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

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[xammie/mailbook

Laravel Mail Explorer

482458.3k1](/packages/xammie-mailbook)[spatie/laravel-notification-log

Log notifications sent by your Laravel app

207902.8k](/packages/spatie-laravel-notification-log)[spatie/laravel-mailcoach-sdk

An SDK to easily work with the Mailcoach API in Laravel apps

41290.2k1](/packages/spatie-laravel-mailcoach-sdk)

PHPackages © 2026

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