PHPackages                             sms4jawaly/lumen - 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. [API Development](/categories/api)
4. /
5. sms4jawaly/lumen

ActiveLibrary[API Development](/categories/api)

sms4jawaly/lumen
================

SMS4Jawaly API integration for Lumen

v1.3.0(1y ago)09MITPHPPHP ^7.0|^8.0

Since Feb 8Pushed 1y ago1 watchersCompare

[ Source](https://github.com/4jawalycom/sms4jawaly-lumen)[ Packagist](https://packagist.org/packages/sms4jawaly/lumen)[ RSS](/packages/sms4jawaly-lumen/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (3)Versions (12)Used By (0)

SMS4Jawaly for Lumen
====================

[](#sms4jawaly-for-lumen)

مكتبة لإرسال الرسائل النصية القصيرة عبر خدمة SMS4Jawaly في إطار عمل Lumen.

المتطلبات
---------

[](#المتطلبات)

- PHP: ^7.0|^8.0
- guzzlehttp/guzzle: ^6.0|^7.0
- illuminate/support: ^7.0|^8.0|^9.0|^10.0

التثبيت
-------

[](#التثبيت)

يمكنك تثبيت المكتبة باستخدام Composer:

```
composer require sms4jawaly/lumen
```

الإعداد
-------

[](#الإعداد)

1. قم بإضافة مزود الخدمة في ملف `bootstrap/app.php`:

```
$app->register(Sms4jawaly\Lumen\Sms4jawalyServiceProvider::class);
```

2. قم بإضافة المتغيرات البيئية التالية في ملف `.env`:

```
SMS4JAWALY_USERNAME=your_username
SMS4JAWALY_PASSWORD=your_password
```

الاستخدام
---------

[](#الاستخدام)

### الإصدار الكامل (Full Version)

[](#الإصدار-الكامل-full-version)

```
use Sms4jawaly\Lumen\Gateway;

// إنشاء كائن جديد
$sms = new Gateway();

// إرسال رسالة
$response = $sms->sendSMS([
    'messages' => [
        [
            'text' => 'مرحباً بك بفورجوالي!',
            'numbers' => ['966500000000'],
            'sender' => '4jawaly'
        ]
    ]
]);

// الحصول على الرصيد
$balance = $sms->getBalance();

// الحصول على أسماء المرسلين
$senders = $sms->getSenderNames();
```

### الإصدار المبسط (Lite Version)

[](#الإصدار-المبسط-lite-version)

```
use Sms4jawaly\Lumen\Gateway;

// إنشاء كائن جديد
$sms = new Gateway();

// إرسال رسالة بالطريقة المبسطة
$response = $sms->sendLite(
    'مرحباً بك!',                // نص الرسالة
    ['966500000000'],           // أرقام المستلمين
    '4jawaly'                   // اسم المرسل
);

// مثال على شكل الاستجابة
[
    'success' => true,          // نجاح العملية
    'total_success' => 1,       // عدد الرسائل الناجحة
    'total_failed' => 0,        // عدد الرسائل الفاشلة
    'job_ids' => ['123456'],    // معرفات المهام
    'errors' => []              // أي أخطاء إن وجدت
]
```

المساهمة
--------

[](#المساهمة)

نرحب بمساهماتكم! يرجى إرسال pull request إذا كان لديكم أي تحسينات أو إصلاحات.

الترخيص
-------

[](#الترخيص)

هذه المكتبة مرخصة تحت [MIT License](LICENSE).

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance40

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

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

Total

11

Last Release

510d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/874ba1f2225799ed6dec29810668df749c21b3ec95ccfcb699622f29cf6adcee?d=identicon)[4jawalycom](/maintainers/4jawalycom)

---

Top Contributors

[![4jawalycom](https://avatars.githubusercontent.com/u/120571011?v=4)](https://github.com/4jawalycom "4jawalycom (13 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sms4jawaly-lumen/health.svg)

```
[![Health](https://phpackages.com/badges/sms4jawaly-lumen/health.svg)](https://phpackages.com/packages/sms4jawaly-lumen)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1348.7k1](/packages/jasara-php-amzn-selling-partner-api)

PHPackages © 2026

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