vigstudio/livewire-comments
Livewire-powered comment system for Laravel: attach comments to any model, run multiple comment widgets per page, support multiple auth guards, file/image uploads (drag & drop/paste), reCAPTCHA v3, emojis, Markdown, NSFW image checks, plus Echo updates.
Livewire 4 UI for vigstudio/vgcomments ^2.0.
Version: 2.0 · PHP ^8.2 · Laravel ^10|^11|^12|^13 · Livewire ^4.0
Demo: vgcomment.nghiane.com/demo/livewire
composer require vigstudio/livewire-comments:^2.0
php artisan vendor:publish --tag=vgcomment-config
php artisan vendor:publish --tag=vgcomment-assets
php artisan vendor:publish --tag=vgcomment-assets-livewire
php artisan migrate
php artisan optimize:clear
Host app must already run Livewire 4.
<head>
@livewireStyles
@commentStyles
</head>
<body>
<livewire:livewire-comments::comments :pageId="$pageId" />
@livewireScripts
@commentScripts
</body>
Only include comment assets on pages that render the component.
MIT.
How can I help you explore Laravel packages today?