innoboxrr/livewire-comments

Módulo de comentarios para livewire
35
Install
composer require innoboxrr/livewire-comments
Latest Version:1.0.6
License:MIT
Last Updated:Aug 22, 2026
Links: GitHub  ·  Packagist
Maintainer: hrauvc

Livewire Comments

A comment system for Laravel, rendered with Livewire.

Drop the component onto a page and get a working comment thread — posting, listing and deletion — without writing any JavaScript.

<livewire:comment :model="$article" />

What ships

Livewire/Comment The component that renders and drives the thread
Models/Comment Polymorphic comment model — attach to any record
Http/Controllers/CommentController REST endpoints for the comment resource
resources/views/ comments.blade.php and comment.blade.php, both publishable
config/lwc.php Configuration — table name, pagination, authorisation

Authorisation runs through a dedicated auth service provider, so who may post, edit or delete is a policy decision in your application rather than a setting in this package.

Why Livewire

A comment thread is mostly server state: who can see what, who may edit what, what is published. Rendering it server-side keeps that authorisation logic in one place instead of duplicating it in a client-side store where it can drift.

If you want the Tailwind-styled variant, see wirecomments.

Install

composer require innoboxrr/livewire-comments
php artisan vendor:publish --tag=lwc-config
php artisan migrate

Part of Innobox R&R — 52 open-source packages extracted from production work. innobox.systems

Related Packages

gabrieloliverio/laravel5-generators

Database metadata-based generators for Laravel 5

1
erirk/paypalpayment

laravel-paypalpayment is simple package help you process direct credit card paym...

0
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

628,058,007 9,707
laravel/framework

The Laravel Framework.

576,155,700 34,907
laravel/tinker

Powerful REPL for the Laravel framework.

485,678,092 7,440