PHPackages                             innoboxrr/wirecomments - 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. innoboxrr/wirecomments

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

innoboxrr/wirecomments
======================

Easy Laravel Livewire Comments with TailwindCSS UI

1.0.4(8mo ago)0341MITPHPPHP ^8.1CI passing

Since May 18Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/innoboxrr/wirecomments)[ Packagist](https://packagist.org/packages/innoboxrr/wirecomments)[ RSS](/packages/innoboxrr-wirecomments/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (6)Used By (1)

Wirecomments - Laravel Livewire Comments
----------------------------------------

[](#wirecomments---laravel-livewire-comments)

[![Latest Version on Packagist](https://camo.githubusercontent.com/69bf01a2359198e949ae78a219a439ab445ba039dacfc3aa43991dbae1746199/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696e6e6f626f7872722f77697265636f6d6d656e74733f7374796c653d666c61742d7371756172652667)](https://packagist.org/packages/innoboxrr/wirecomments)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/411adef80faa6a9a4214864ca1f44073d7ecceadd7dd5450680921c21e338768/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f696e6e6f626f7872722f77697265636f6d6d656e74732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/innoboxrr/wirecomments/?branch=main)[![CodeFactor](https://camo.githubusercontent.com/af4b8578487efa65b6095810596ed9df4f590e10c977b2877a46a53b5f344f8d/68747470733a2f2f7777772e636f6465666163746f722e696f2f7265706f7369746f72792f6769746875622f696e6e6f626f7872722f77697265636f6d6d656e74732f6261646765)](https://www.codefactor.io/repository/github/innoboxrr/wirecomments)[![Build Status](https://camo.githubusercontent.com/43ed8acd9de4ae2b9b1b94c0e8afc596c14ee908168b68ca20ee45b81880a9e3/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f696e6e6f626f7872722f77697265636f6d6d656e74732f6261646765732f6275696c642e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/innoboxrr/wirecomments/build-status/main)[![Code Intelligence Status](https://camo.githubusercontent.com/468a63432d4f55668da52b6a9b3184ec3c37c52fcde1a28d933ac2bccb207f6e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f696e6e6f626f7872722f77697265636f6d6d656e74732f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d61696e)](https://scrutinizer-ci.com/code-intelligence)[![Total Downloads](https://camo.githubusercontent.com/4d55b86aa11e9a958d8be1137d963eeafb958676c64d6c35866e7f1c39cafe0a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696e6e6f626f7872722f77697265636f6d6d656e74733f7374796c653d666c61742d737175617265)](https://packagist.org/packages/innoboxrr/wirecomments)[![Licence](https://camo.githubusercontent.com/afeab8ecac7fef2ae17ae7b0db642413e20615f35454dc4a0c915b42eded5718/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f696e6e6f626f7872722f77697265636f6d6d656e74733f7374796c653d666c61742d737175617265)](https://github.com/innoboxrr/wirecomments/blob/HEAD/LICENSE.md)

[![wirecomments](public/images/wirecomments.gif)](public/images/wirecomments.gif)

Introduction
------------

[](#introduction)

Wirecomments is a powerful Laravel Livewire package designed to provide an easy-to-integrate commenting system for any model in your Laravel application. Powered by Livewire, this package offers a seamless commenting experience that is powered by Tailwind UI, making it easy for users to engage with your content. With features like comments pagination and YouTube-style like/unlike buttons, this package is perfect for applications that require robust commenting capabilities. Additionally, guest users can like and unlike comments based on their IP addresses. Mentions can be used with "@" to tag specific users in replies and edits, while Markdown support allows for rich formatting in comments. Whether you're building a blog, an e-commerce platform, or any other type of web application, Wirecomments is a powerful tool for enhancing user engagement and collaboration.

Some Features Highlight
-----------------------

[](#some-features-highlight)

- Easy to integrate
- Supports Laravel 10+
- Supports Livewire 3
- Livewire powered commenting system
- Tailwind UI
- Add comments to any model
- Nested Comments
- Comments Pagination
- Youtube style Like/unlike feature
- Guest like/unlike of comments (based on `IP` &amp; `UserAgent`)
- Mention User with @ in Replies/Edits
- Markdown Support

Prerequisites
-------------

[](#prerequisites)

- [Livewire](https://laravel-livewire.com/docs/2.x/installation)
- [TailwindCSS](https://tailwindcss.com/)
- [AlpineJS](https://alpinejs.dev/essentials/installation)

Installation Guide
------------------

[](#installation-guide)

You can install the package via composer:

`composer require innoboxrr/wirecomments`

### Register Service Provider

[](#register-service-provider)

Add the service provider in `config/app.php`:

```
Innoboxrr\Wirecomments\Providers\WirecommentsServiceProvider::class,
```

### Run Migrations

[](#run-migrations)

Once the package is installed, you can run migrations, `php artisan migrate`

### Publish Config File

[](#publish-config-file)

```
 php artisan vendor:publish --tag="wirecomments-config"
```

This will publish `wirecomments.php` file in config directory. Here you can configure user route and pagination count etc.

### Publish `tailwind.config.js` file,

[](#publish-tailwindconfigjs-file)

This package utilizes TailwindCSS, and use some custom configurations. You can publish package's `tailwind.config. js` file by running the following command:

```
php artisan vendor:publish --tag="wirecomments-tailwind-config"
```

Usage
-----

[](#usage)

In your model, where you want to integrate comments, simply add the `Commentable` trait in that model. For example:

```
use Innoboxrr\Wirecomments\Traits\Commentable;

class Article extends Model
{
    use Commentable;
}
```

Next, in your view, pass in the livewire comment component. For example, if your view file is `articles/show.blade. php`. We can add the following code:

```

```

#### Additionally, add the `HasUserAvatar` trait in `App\Models\User`, to use avatars:

[](#additionally-add-the-hasuseravatar-trait-in-appmodelsuser-to-use-avatars)

```
use Innoboxrr\Wirecomments\Traits\HasUserAvatar;

class User extends Model
{
    use HasUserAvatar;
}
```

Tests
-----

[](#tests)

`composer test`

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Laravel](https://laravel.com)
- [Tailwind](https://tailwindcss.com/)
- [Livewire](https://laravel-livewire.com/)
- [FlowBite](https://flowbite.com)
- [All Contributors](https://github.com/innoboxrr/wirecomments/graphs/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance59

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

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 ~27 days

Total

5

Last Release

257d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1326cc571921fa88e3800b030b9ab07ad5dc7638c3bec1ad2e668e54743c5aec?d=identicon)[hrauvc](/maintainers/hrauvc)

---

Top Contributors

[![hrauvc](https://avatars.githubusercontent.com/u/12868727?v=4)](https://github.com/hrauvc "hrauvc (6 commits)")

---

Tags

livewirecommentslaravel-livewirelivewire-commentswirecommentsinnoboxrr

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/innoboxrr-wirecomments/health.svg)

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

###  Alternatives

[usamamuneerchaudhary/commentify

Easy Laravel Livewire Comments with TailwindCSS UI

23214.3k](/packages/usamamuneerchaudhary-commentify)[livewire/flux

The official UI component library for Livewire.

9475.0M86](/packages/livewire-flux)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4205.3M84](/packages/livewire-volt)[kirschbaum-development/commentions

A package to allow you to create comments, tag users and more

12369.2k](/packages/kirschbaum-development-commentions)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

116.6k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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