New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

modularavel/commentable

A Laravel Blade Livewire package for threaded comments with replies
1 1
Install
composer require modularavel/commentable
Latest Version:1.0.1
PHP:>=8.1
Laravel:9 – 12
License:MIT
Last Updated:Nov 8, 2025
Links: GitHub  ·  Packagist
Maintainer: modularavel

Laravel Comments Threads

A Laravel Blade Livewire package for threaded comments with nested replies.

Screenshots

Comment Thread

Comment Form

Nested Replies

Threaded Comments with Nested Replies and Real-time Updates with Livewire Threads

Installation

composer require modularavel/commentable

Publish Migrations

php artisan vendor:publish --tag=commentable-migrations

Publish Configuration

php artisan vendor:publish --tag=commentable-config

Publish Assets

php artisan vendor:publish --tag=commentable-assets

Publish Languages

php artisan vendor:publish --tag=commentable-lang

Publish Blade Views

php artisan vendor:publish --tag=commentable-views

Run Migrations

php artisan migrate

Usage

In Your Blade View

<livewire:comment-thread :commentable="$post" />

Make Your Model Commentable

use Modularavel\Commentable\Traits\HasModularavelCommentable;

class Post extends Model
{
    use HasModularavelCommentable;
}

Configuration

Edit config/modularavel/commentable.php to customize:

  • User model
  • Pagination settings
  • Moderation options
  • Display preferences

Features

  • Nested comment replies
  • Real-time updates with Livewire
  • User authentication integration
  • Edit and delete comments
  • Customizable views
  • Pagination support
  • Markdown support (optional)

License

MIT

Test

composer test

Related Packages

anil/comments

A Laravel package providing a full-featured, framework-agnostic commenting syste...

10,239 6
tresorkasenda/ballstack

A simple stack implementation in Laravel, Livewire and Alpine.js

5 3
lakm/laravel-comments

Integrate seamless commenting functionality into your Laravel project.

20,345 407
wendelladriel/slidewire

Create beautiful presentations powered by Livewire

9,043 142
lakm/laravel-comments-admin-panel

Integrate seamless commenting functionality into your Laravel project.

282 17

Version History

Version Released PHP Laravel License
1.0.1 >=8.1 >=9.0 MIT