PHPackages                             burakaktna/laravel-vatansms - 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. burakaktna/laravel-vatansms

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

burakaktna/laravel-vatansms
===========================

Laravel Custom Notification Channel For VatanSMS

1.0.2(5y ago)5781MITPHPPHP &gt;=7.4

Since Sep 26Pushed 5y ago2 watchersCompare

[ Source](https://github.com/burakaktna/laravel-vatansms)[ Packagist](https://packagist.org/packages/burakaktna/laravel-vatansms)[ RSS](/packages/burakaktna-laravel-vatansms/feed)WikiDiscussions develop Synced 3w ago

READMEChangelog (3)Dependencies (3)Versions (4)Used By (0)

Laravel Custom Notification Channel For VatanSMS
================================================

[](#laravel-custom-notification-channel-for-vatansms)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e6a85c2d62607b59a3f72e53fd19d6972aa6dc82078499cd121e34956a45e34d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f627572616b616b746e612f6c61726176656c2d766174616e736d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/burakaktna/laravel-vatansms)[![Total Downloads](https://camo.githubusercontent.com/8b5d8963a25c991c7fe22fc984e5823ccf55f7be174d539d8949363ca1bfd784/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f627572616b616b746e612f6c61726176656c2d766174616e736d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/burakaktna/laravel-vatansms)

This package makes it easy to send sms notifications with VatanSMS on Laravel.

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

[](#installation)

You can install the package via composer:

```
composer require burakaktna/laravel-vatansms
```

Configuration
-------------

[](#configuration)

```
VATANSMS_CUSTOMER_NO=YOUR VATANSMS CUSTOMER NO
VATANSMS_USERNAME=YOUR VATANSMS USERNAME
VATANSMS_PASSWORD=YOUR VATANSMS PASSWORD
VATANSMS_ORIGINATOR=YOUR VATANSMS ORIGINATOR
```

### Advanced configuration

[](#advanced-configuration)

Run `php artisan vendor:publish --provider="Burakaktna\LaravelVatanSMS\VatanSMSServiceProvider"`

```
/config/vatansms.php

```

Usage
-----

[](#usage)

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

```
use Burakaktna\LaravelVatanSMS\VatanSMSChannel;
use Burakaktna\LaravelVatanSMS\VatanSMSMessage;
use Illuminate\Notifications\Notification;

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

    public function toVatanSMS($notifiable)
    {
        return (new VatanSMSMessage())
            ->content("Your {$notifiable->service} account was approved!");
    }
}
```

You can also send sms with facades:

```
use Burakaktna\LaravelVatanSMS\Facades\VatanSMS;

function sendSms(string $content, array $number){
    VatanSMS::sendSms($content, $number)->submit();
}
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

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

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

[](#contributing)

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

### Security

[](#security)

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

Credits
-------

[](#credits)

- [Muhammed Burak AKTUNA](https://github.com/burakaktna)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

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 ~8 days

Total

3

Last Release

2091d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5b1919e6fe209f1fcfd2f38b5ad293e2dbbf2c25b26b7432a178efc3d4ccf0dc?d=identicon)[burakaktna](/maintainers/burakaktna)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/burakaktna-laravel-vatansms/health.svg)

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

###  Alternatives

[laravel-notification-channels/webpush

Web Push Notifications driver for Laravel.

9005.5M27](/packages/laravel-notification-channels-webpush)[spatie/laravel-health

Monitor the health of a Laravel application

87512.0M164](/packages/spatie-laravel-health)[propaganistas/laravel-disposable-email

Disposable email validator

6023.0M6](/packages/propaganistas-laravel-disposable-email)[laravel-notification-channels/apn

Apple APN Push Notification Channel

2022.2M8](/packages/laravel-notification-channels-apn)[illuminate/mail

The Illuminate Mail package.

5910.6M498](/packages/illuminate-mail)[laravel-notification-channels/expo

Expo Notifications Channel for Laravel

67628.6k1](/packages/laravel-notification-channels-expo)

PHPackages © 2026

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