PHPackages                             macellan/ileti-merkezi - 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. macellan/ileti-merkezi

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

macellan/ileti-merkezi
======================

Ileti Merkezi SMS notification channel for Laravel

v1.4.0(1y ago)88.7k1MITPHPPHP &gt;=7.2

Since Oct 15Pushed 1y ago3 watchersCompare

[ Source](https://github.com/macellan/ileti-merkezi)[ Packagist](https://packagist.org/packages/macellan/ileti-merkezi)[ Docs](http://macellan.net/)[ RSS](/packages/macellan-ileti-merkezi/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (3)Versions (10)Used By (0)

Ileti Merkezi SMS Notifications Channel for Laravel
===================================================

[](#ileti-merkezi-sms-notifications-channel-for-laravel)

[![Latest Stable Version](https://camo.githubusercontent.com/5ff90a45eb30e2df744f8a6af70f879e1da34d0b01a9c0b7e9c2a924b58a7797/68747470733a2f2f706f7365722e707567782e6f72672f6d6163656c6c616e2f696c6574692d6d65726b657a692f762f737461626c65)](https://packagist.org/packages/ileti-merkezi)[![Total Downloads](https://camo.githubusercontent.com/d166d8ebc93a40ad7bf1be647449070216f31fcd9a958eead9dc4c7a8b7b6dc0/68747470733a2f2f706f7365722e707567782e6f72672f6d6163656c6c616e2f696c6574692d6d65726b657a692f646f776e6c6f616473)](https://packagist.org/packages/macellan/ileti-merkezi)

This package makes it easy to send sms notifications using [Ileti Merkezi](https://www.iletimerkezi.com/) with Laravel 7.0+, 8.0+, 9.0+, 10.0+ 11.0+ and 12.0+

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up the Ileti Merkezi service](#setting-up-the-Ileti-Merkezi-service)
- [Usage](#usage)
    - [ On-Demand Notifications](#on-demand-notifications)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

You can install this package via composer:

```
composer require macellan/ileti-merkezi
```

### Setting up the Ileti Merkezi service

[](#setting-up-the-ileti-merkezi-service)

Add your Ileti Merkezi sms gate login, password and default sender name to your config/services.php:

```
// config/services.php
...
    'sms' => [
        'iletimerkezi' => [
            'key' => env('ILETIMERKEZI_KEY'),
            'hash' => env('ILETIMERKEZI_HASH'),
            'origin' => env('ILETIMERKEZI_ORIGIN'), // sender title
            'enable' => env('ILETIMERKEZI_ENABLE', true),
            'debug' => env('ILETIMERKEZI_DEBUG', false), // will log sending attempts and results
            'sandboxMode' => env('ILETIMERKEZI_SANDBOX_MODE', false) // will not invoke API call
        ],
    ],
...
```

Usage
-----

[](#usage)

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

```
use Illuminate\Notifications\Notification;
use Macellan\IletiMerkezi\IletiMerkeziMessage;

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

    public function toIletiMerkezi($notifiable)
    {
        return IletiMerkeziMessage::create()
            ->setBody('Your account was approved!')
            ->setSendTime(now());
    }
}
```

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

```
public function routeNotificationForSms()
{
    return str_replace(['+', ' '], '', $this->phone);
}
```

### On-Demand Notifications

[](#on-demand-notifications)

Sometimes you may need to send a notification to someone who is not stored as a "user" of your application. Using the Notification::route method, you may specify ad-hoc notification routing information before sending the notification:

```
Notification::route('sms', '905322234433')
            ->notify(new AccountApproved());
```

Changelog
---------

[](#changelog)

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

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)

- [Fatih Aytekin](https://github.com/faytekin)

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance46

Moderate activity, may be stable

Popularity29

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

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

Recently: every ~239 days

Total

9

Last Release

415d ago

### Community

Maintainers

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

---

Top Contributors

[![faytekin](https://avatars.githubusercontent.com/u/4013224?v=4)](https://github.com/faytekin "faytekin (20 commits)")[![bcalik](https://avatars.githubusercontent.com/u/9222368?v=4)](https://github.com/bcalik "bcalik (1 commits)")

---

Tags

ileti-merkezi-laravel-notificationsiletimerkezilaravellaravel-notificationsnotifications

### Embed Badge

![Health badge](/badges/macellan-ileti-merkezi/health.svg)

```
[![Health](https://phpackages.com/badges/macellan-ileti-merkezi/health.svg)](https://phpackages.com/packages/macellan-ileti-merkezi)
```

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

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

Web Push Notifications driver for Laravel.

7984.5M16](/packages/laravel-notification-channels-webpush)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[laravel-notification-channels/apn

Apple APN Push Notification Channel

2021.9M4](/packages/laravel-notification-channels-apn)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)

PHPackages © 2026

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