PHPackages                             usamamuneerchaudhary/commentify - 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. usamamuneerchaudhary/commentify

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

usamamuneerchaudhary/commentify
===============================

Easy Laravel Livewire Comments with TailwindCSS UI

3.7(4mo ago)23215.6k↓71.1%27[6 issues](https://github.com/usamamuneerchaudhary/commentify/issues)[1 PRs](https://github.com/usamamuneerchaudhary/commentify/pulls)MITPHPPHP ^8.2

Since Apr 5Pushed 4mo ago3 watchersCompare

[ Source](https://github.com/usamamuneerchaudhary/commentify)[ Packagist](https://packagist.org/packages/usamamuneerchaudhary/commentify)[ GitHub Sponsors](https://github.com/usamamuneerchaudhary)[ RSS](/packages/usamamuneerchaudhary-commentify/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (10)Dependencies (8)Versions (20)Used By (0)

Commentify - Laravel Livewire Comments
--------------------------------------

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

[![Latest Version on Packagist](https://camo.githubusercontent.com/d64ea49dda53714b90384c0f7575128886c2e9096042994ac6bae0226098c3d3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7573616d616d756e6565726368617564686172792f636f6d6d656e746966793f7374796c653d666c61742d7371756172652667)](https://packagist.org/packages/usamamuneerchaudhary/commentify)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/d9a51029d7f3f1529ec710098042be6d70ef76b428735e15b5d8d2333ea7f4a3/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7573616d616d756e6565726368617564686172792f636f6d6d656e746966792f6261646765732f7175616c6974792d73636f72652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/usamamuneerchaudhary/commentify/?branch=main)[![CodeFactor](https://camo.githubusercontent.com/9cf5b314ecc3ee8972f44d23c8ba92a9023f12850af2bf69a14b556121d73738/68747470733a2f2f7777772e636f6465666163746f722e696f2f7265706f7369746f72792f6769746875622f7573616d616d756e6565726368617564686172792f636f6d6d656e746966792f6261646765)](https://www.codefactor.io/repository/github/usamamuneerchaudhary/commentify)[![Build Status](https://camo.githubusercontent.com/48a7c913f6eaf78205524136c06914854b820505d261101b01ce33c2f94564a1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7573616d616d756e6565726368617564686172792f636f6d6d656e746966792f6261646765732f6275696c642e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/usamamuneerchaudhary/commentify/build-status/main)[![Code Intelligence Status](https://camo.githubusercontent.com/fb1da5aeaa3fabbf9054a439584d9298507fbea7e4816fc8bc5dc81c6dd12ca6/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7573616d616d756e6565726368617564686172792f636f6d6d656e746966792f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d61696e)](https://scrutinizer-ci.com/code-intelligence)[![Total Downloads](https://camo.githubusercontent.com/c0afac0f6da7359b1e86da130be7209baff6905f4d35d218ca04b4b549523288/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7573616d616d756e6565726368617564686172792f636f6d6d656e746966793f7374796c653d666c61742d737175617265)](https://packagist.org/packages/usamamuneerchaudhary/commentify)[![Licence](https://camo.githubusercontent.com/77483840b13d1f2bba42e7ca1a210f866b854b1ccd62bf0ee12cc7c36141b035/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7573616d616d756e6565726368617564686172792f636f6d6d656e746966793f7374796c653d666c61742d737175617265)](https://github.com/usamamuneerchaudhary/commentify/blob/HEAD/LICENSE.md)

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

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

[](#introduction)

Commentify 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 with support for both Tailwind CSS and Bootstrap 5, making it easy for users to engage with your content. With features like comment sorting, pagination, reporting, emoji picker, 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, Commentify is a powerful tool for enhancing user engagement and collaboration.

Features
--------

[](#features)

- ✅ Easy to integrate
- ✅ Laravel 12+ support
- ✅ Livewire 4 support
- ✅ Livewire powered commenting system
- ✅ **CSS Framework Support**: Tailwind CSS and Bootstrap 5
- ✅ **Dark/Light/Auto Theme**: Automatic theme detection with manual override options
- ✅ Read-only mode (configurable via `config/commentify.php`)
- ✅ Add comments to any model
- ✅ Nested Comments
- ✅ **Comment Sorting**: Sort by newest, oldest, most liked, or most replied
- ✅ **Comment Reporting**: Users can report inappropriate comments with predefined reasons
- ✅ **Comment Moderation**: Require manual approval for comments before they appear on the frontend
- ✅ **Emoji Picker**: Rich emoji support for comments
- ✅ **Notifications**: Real-time notifications for comment events (database, email, broadcast)
- ✅ Temporary user comment bans (block users from commenting until a set date)
- ✅ 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
- ✅ **Filament Admin Panel**: Optional Filament integration for managing comments and reports
- ✅ Full language/translation support (publish and override as needed)
- ✅ Customizable views (publish and override as needed)
- ✅ Policy-based authorization for all comment actions

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

[](#prerequisites)

- PHP 8.2 or higher
- Laravel 12 or higher
- [Livewire 4](https://livewire.laravel.com/docs/installation)
- [AlpineJS](https://alpinejs.dev/essentials/installation) (included with Livewire 4)
- **CSS Framework** (choose one):
    - [Tailwind CSS v4](https://tailwindcss.com/) (default)
    - [Bootstrap 5](https://getbootstrap.com/)

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

[](#installation-guide)

You can install the package via composer:

```
composer require usamamuneerchaudhary/commentify
```

### Service Provider Registration

[](#service-provider-registration)

The service provider is **automatically discovered** in Laravel 12+ when installed via Composer from Packagist.

However, if you're using a local development setup (e.g., path repository with symlinks) or need to manually register it, add it to `bootstrap/providers.php`:

```
