承接 morpheusadam/elanak 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

morpheusadam/elanak

Composer 安装命令:

composer require morpheusadam/elanak

包简介

allinone sms sender

README 文档

README

# 📨 SMS Forge — Unified Laravel SMS Sender ### One fluent Laravel/PHP interface to send SMS through multiple providers — Kavenegar, Melipayamak, IPPanel, SMS.ir and Payamresan — consolidating every panel into a single repository.

License Stars Forks Last commit Repo size

PHP Laravel Composer 5 SMS gateways

📖 Overview

Elanak is a robust Laravel SMS package that sends text messages through multiple SMS service providers behind one consistent, fluent interface. Rather than juggling a separate SDK and a separate panel for every provider, Elanak consolidates all of them into a single repository — so you can switch gateways by changing one method call, with no rewrite of your sending logic.

Built for the Laravel framework (with a service provider and Elanak facade for auto-discovery), it aims for better ergonomics and performance than scattering several SMS libraries across a project. It supports both simple text messages and pattern / template-based messages (OTP, verification codes, transactional notifications), making it ideal for authentication, alerts, and notification workflows.

🔎 Keywords: Laravel SMS, PHP SMS package, send SMS Laravel, SMS gateway Laravel, Kavenegar Laravel, Melipayamak, IPPanel, SMS.ir, Payamresan, OTP SMS, pattern SMS, multi-provider SMS sender.

✨ Features

  • 📡 Multiple providers, one API — swap gateways with a single via() call.
  • 🧩 Fluent builder — chainable send()->via()->api()->from()->to()->dispatch() syntax.
  • 🔢 Pattern / template messages — send OTP and templated SMS with pattern($code, $values).
  • 🧱 Laravel-native — auto-registered service provider and Elanak facade.
  • 🗂️ Panels consolidated — every supported SMS panel lives in one repository.
  • 🪶 Lightweight — a thin, focused wrapper over each provider's API.

🏢 Supported SMS Providers

The following gateways are implemented under src/Getways/:

Provider Driver name
Kavenegar kavenegar
Melipayamak melipayamak
IPPanel ippanel
SMS.ir smsir
Payamresan payamresan

🛠️ Tech Stack

Component Technology
Language PHP
Framework Laravel (service provider + Elanak facade)
Install Composer (PSR-4: Morpheusadam\Elanak\)

Tech stack

🚀 Getting Started

Install the package

composer require morpheusadam/SmsForge

Install the provider SDKs you intend to use

composer require kavenegar/laravel
composer require melipayamak/laravel:1.0.0
composer require ippanel/php-rest-sdk

To remove Elanak later:

composer remove morpheusadam/SmsForge

📦 Usage

Send a simple text message

Elanak::send($messages)
    ->via($provider)   // e.g. 'kavenegar', 'melipayamak', 'ippanel', 'smsir', 'payamresan'
    ->api($api)
    ->from($sender)
    ->to('09185312051')
    ->dispatch();

Send a pattern / template message

Melipayamak

Elanak::send($messages)
    ->to($to)
    ->via($providerName)
    ->api($api)
    ->pattern($patternCode, $value)
    ->dispatch();

IPPanel

Elanak::send($messages)
    ->to($to)
    ->via($providerName)
    ->api($api)
    ->pattern($patternCode, $value)
    ->from($sender)
    ->dispatch();

Switch provider

Change the provider simply by changing the via() argument:

->via('melipayamak')
->via('kavenegar')
->via('ippanel')
->via('payamresan')
->via('smsir')

🤝 Contributing

Contributions are welcome! Open an issue or submit a pull request to add a provider, fix a bug, or improve the documentation.

📜 License

Distributed under the MIT License. See the LICENSE file for full terms.

👤 Author — Morpheus Adam

Web developer & cheerful hacker · PHP · Laravel · Go

GitHub Website Email

If Elanak made SMS easier in your project, consider giving it a star!

⭐ Star History

elanak — Star History Chart

If this project helps you, please give it a ⭐

A star helps other developers discover elanak and supports continued development.

morpheusadam/elanak 适用场景与选型建议

morpheusadam/elanak 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 4, 最近一次更新时间为 2024 年 06 月 07 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 morpheusadam/elanak 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 morpheusadam/elanak 我们能提供哪些服务?
定制开发 / 二次开发

基于 morpheusadam/elanak 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 8
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-06-07