PHPackages                             hadialharbi/nested-comments - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. hadialharbi/nested-comments

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

hadialharbi/nested-comments
===========================

Fork of coolsam/nested-comments with Arabic RTL support and Filament integration

v1.5.13(10mo ago)027MITPHPPHP ^8.2

Since Jun 20Pushed 10mo agoCompare

[ Source](https://github.com/hadialharbi2020/nested-comments)[ Packagist](https://packagist.org/packages/hadialharbi/nested-comments)[ Docs](https://github.com/hadialharbi2020/nested-comments)[ GitHub Sponsors](https://github.com/coolsam)[ RSS](/packages/hadialharbi-nested-comments/feed)WikiDiscussions main Synced 1mo ago

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

💬 التعليقات المتداخلة وردود الفعل باستخدام Filament (مع دعم اللغة العربية والـ RTL)
===================================================================================

[](#-التعليقات-المتداخلة-وردود-الفعل-باستخدام-filament-مع-دعم-اللغة-العربية-والـ-rtl)

[![Packagist](https://camo.githubusercontent.com/6cfc3c6de328c278c5ae98e0f8629ed184c331e323d9aaef5db95d8cc3909aff/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f68616469616c68617262692f6e65737465642d636f6d6d656e74732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hadialharbi/nested-comments)

هذه الحزمة مبنية على عمل رائع قام به [@coolsam726](https://github.com/coolsam726) في حزمته الأصلية [coolsam/nested-comments](https://github.com/coolsam726/nested-comments) — له كل الشكر والتقدير على هذا الأساس القوي والمتين. تم تطوير هذه النسخة لتدعم اللغة العربية والاتجاه من اليمين لليسار RTL، مع تحسينات على مستوى الواجهة والوظائف.

✅ الجديد في هذه النسخة
----------------------

[](#-الجديد-في-هذه-النسخة)

- ✅ دعم **اللغة العربية** والـ **RTL** بشكل كامل.
- ✅ دعم تعديل التعليقات مباشرة من خلال Livewire.
- ✅ دعم حذف التعليق.
- ✅ التحقق من صلاحية المستخدم قبل السماح بالتعديل أو الحذف.
- ✅ إرسال حدث `refresh` لتحديث الواجهة بعد حذف التعليق.
- ✅ تحسين تجربة المستخدم العربي بصريًا ونصيًا.
- ✅ دمج PHPUnit لاختبار الحزمة بكفاءة.

✅ دمج PHPUnit
-------------

[](#-دمج-phpunit)

تم إعداد اختبار الحزمة باستخدام [orchestra/testbench](https://github.com/orchestral/testbench):

- إعداد بيئة Laravel معزولة داخل `TestCase`.
- إنشاء قاعدة بيانات مؤقتة لتشغيل الاختبارات.
- اختبار أولي ناجح يتحقق من إنشاء تعليق.
- إصلاحات لمشاكل `migrations` و`macros`.

لتشغيل الاختبارات:

```
composer test
```

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

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

```
composer require hadialharbi/nested-comments
```

ثم نفّذ الأمر التالي لتثبيت الحزمة:

```
php artisan nested-comments:install
```

واتبع التعليمات لنشر ملفات الإعدادات والمخططات.

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

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

1. أضف Trait `HasComments` إلى الموديل الذي ترغب بتعليقه عليه.
2. أضف Trait `HasReactions` إذا رغبت بدعم الإيموجي.
3. استخدم المكونات داخل Infolist أو Blade أو Livewire بكل سلاسة.

### Blade:

[](#blade)

```

```

### Livewire:

[](#livewire)

```

```

### ردود الفعل (الإيموجي)

[](#ردود-الفعل-الإيموجي)

```

```

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

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

يمكنك تعديل ملف الإعدادات `config/nested-comments.php` لتغيير:

- الأشكال والألوان.
- قائمة الإيموجي المسموحة.
- التحكم بالسماح للضيوف بالتفاعل.
- النصوص المعروضة في الواجهات.
- تحديد صلاحيات التعديل والحذف.
- التحكم في تنسيق التاريخ.

الشكر
-----

[](#الشكر)

تم بناء هذه الحزمة على العمل الرائع من [coolsam/nested-comments](https://github.com/coolsam726/nested-comments) — شكرًا للمطور سام ماوسا على جهده وتفانيه في بناء أساس قوي لهذه الإضافة. كما نعبر عن امتناننا لكل من ساهم في تطوير أدوات:

- FilamentPHP
- Laravel
- Livewire
- AlpineJS
- Laravel NestedSet
- Tiptap Editor

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance54

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 74.7% 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

30

Last Release

320d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/11eb2f1342da96818eece3209e4d9f74f8b72e15362cbc80d543f2ea4464a550?d=identicon)[hadialharbi2020](/maintainers/hadialharbi2020)

---

Top Contributors

[![coolsam726](https://avatars.githubusercontent.com/u/5610289?v=4)](https://github.com/coolsam726 "coolsam726 (109 commits)")[![hadialharbi2020](https://avatars.githubusercontent.com/u/59870461?v=4)](https://github.com/hadialharbi2020 "hadialharbi2020 (33 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")[![yagrasdemonde](https://avatars.githubusercontent.com/u/35835849?v=4)](https://github.com/yagrasdemonde "yagrasdemonde (1 commits)")

---

Tags

laravellivewirecommentsarabicfilamentphprtlnested-comments

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/hadialharbi-nested-comments/health.svg)

```
[![Health](https://phpackages.com/badges/hadialharbi-nested-comments/health.svg)](https://phpackages.com/packages/hadialharbi-nested-comments)
```

###  Alternatives

[bezhansalleh/filament-google-analytics

Google Analytics integration for FilamentPHP

205144.8k5](/packages/bezhansalleh-filament-google-analytics)[dotswan/filament-map-picker

Easily pick and retrieve geo-coordinates using a map-based interface in your Filament applications.

124139.3k2](/packages/dotswan-filament-map-picker)[jibaymcs/filament-tour

Bring the power of DriverJs to your Filament panels and start a tour !

12247.8k](/packages/jibaymcs-filament-tour)[coolsam/nested-comments

Add Nested comments/replies to filament forms, infolists and resources

3110.0k](/packages/coolsam-nested-comments)[asosick/filament-layout-manager

Allow users to create &amp; customize their own FilamentPHP pages composed of Livewire components

5718.8k2](/packages/asosick-filament-layout-manager)[codewithdennis/filament-lucide-icons

A Filament plugin that integrates Lucide icons, allowing you to use them seamlessly across Filament forms, tables, actions, and more.

4529.4k2](/packages/codewithdennis-filament-lucide-icons)

PHPackages © 2026

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