PHPackages                             akira/laravel-commentable - 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. akira/laravel-commentable

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

akira/laravel-commentable
=========================

Commentable is a lightweight and flexible comment system package designed to seamlessly integrate into any Laravel project. Whether you’re building a blog, a forum, or a platform like DevHunter – this package makes it incredibly easy to make any model commentable.

v0.3.0(4w ago)5694↓84.4%[4 issues](https://github.com/akira-io/laravel-commentable/issues)[3 PRs](https://github.com/akira-io/laravel-commentable/pulls)MITPHPPHP ^8.4CI passing

Since Dec 23Pushed yesterday1 watchersCompare

[ Source](https://github.com/akira-io/laravel-commentable)[ Packagist](https://packagist.org/packages/akira/laravel-commentable)[ Docs](https://github.com/akira-io/laravel-commentable)[ GitHub Sponsors](https://github.com/Akira)[ RSS](/packages/akira-laravel-commentable/feed)WikiDiscussions 1.x Synced today

READMEChangelog (4)Dependencies (32)Versions (12)Used By (0)

 [![Laravel Commentable](assets/banner.svg)](assets/banner.svg)

 [![Packagist Version](https://camo.githubusercontent.com/1d1e645ac31ac52f6a1c9b3b5a893e7a778145a72aeb0c258d89a7c830fea5ea/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616b6972612f6c61726176656c2d636f6d6d656e7461626c652e737667)](https://packagist.org/packages/akira/laravel-commentable) [![downloads](https://camo.githubusercontent.com/a8a60b210c0bec73768911db8c59fd12839b495098aea8ca74fd83c91dd693c2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616b6972612f6c61726176656c2d636f6d6d656e7461626c652e737667)](https://packagist.org/packages/akira/laravel-commentable) [![tests](https://github.com/akira-io/laravel-commentable/actions/workflows/run-tests.yml/badge.svg)](https://github.com/akira-io/laravel-commentable/actions/workflows/run-tests.yml) [![license](https://camo.githubusercontent.com/305b96783f97547204b2a25543b878460940b476eb210ed6daa14a7c74075c14/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f616b6972612f6c61726176656c2d636f6d6d656e7461626c652e737667)](https://camo.githubusercontent.com/305b96783f97547204b2a25543b878460940b476eb210ed6daa14a7c74075c14/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f616b6972612f6c61726176656c2d636f6d6d656e7461626c652e737667) [![php](https://camo.githubusercontent.com/5beec6fc2cb8e24b960ee618cf1533b390c41870f8e611d81c9205c93d88ebad/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f616b6972612f6c61726176656c2d636f6d6d656e7461626c65)](https://camo.githubusercontent.com/5beec6fc2cb8e24b960ee618cf1533b390c41870f8e611d81c9205c93d88ebad/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f616b6972612f6c61726176656c2d636f6d6d656e7461626c65)

Laravel Commentable is a lightweight comment system for Laravel applications. It adds comments, replies, reactions, and moderation to Eloquent models through small, typed traits.

Install
-------

[](#install)

```
composer require akira/laravel-commentable
```

```
{
  "require": {
    "akira/laravel-commentable": "^0.2"
  }
}
```

Publish and run the migrations:

```
php artisan vendor:publish --tag="commentable-migrations"
php artisan migrate
```

Publish the config when you need custom table or model classes:

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

Quick start
-----------

[](#quick-start)

```
use Akira\Commentable\Concerns\Commentable;
use Akira\Commentable\Concerns\Commenter;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Foundation\Auth\User as Authenticatable;

final class Post extends Model
{
    use Commentable;
}

final class User extends Authenticatable
{
    use Commenter;
}

$comment = $user->comment($post, 'Laravel 13 support is ready.');

$reply = $user->reply($comment, 'Confirmed with the package test suite.');

$post->comments()->where('approved', true)->get();
```

Documentation
-------------

[](#documentation)

- [Roadmap](docs/00-roadmap.md)
- [Installation](docs/01-installation.md)
- [Basic usage](docs/02-basic-usage.md)
- [Advanced features](docs/03-advanced-features.md)
- [Configuration](docs/04-configuration.md)
- [API reference](docs/05-api-reference.md)
- [Database schema](docs/06-database-schema.md)
- [Testing](docs/07-testing.md)
- [Examples](docs/08-examples.md)
- [Troubleshooting](docs/09-troubleshooting.md)
- API reference:

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG.md](CHANGELOG.md) for what has changed recently. The changelog is generated from conventional commits via [git-cliff](https://git-cliff.org) on every release tag.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING.md](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](SECURITY.md) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Kidiatoliny](https://github.com/kidiatoliny)
- [All Contributors](https://github.com/akira-io/laravel-commentable/graphs/contributors)

License
-------

[](#license)

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

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance82

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 73.5% 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 ~47 days

Total

5

Last Release

1d ago

Major Versions

v0.3.0 → 1.x-dev2026-07-02

### Community

Maintainers

![](https://www.gravatar.com/avatar/c42e59ca0b3864a382dc0c3e290f8cf7d75bbe3eab10a3af0f71d5785f89d0bc?d=identicon)[kidiatoliny](/maintainers/kidiatoliny)

---

Top Contributors

[![kidiatoliny](https://avatars.githubusercontent.com/u/48266788?v=4)](https://github.com/kidiatoliny "kidiatoliny (61 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (13 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (9 commits)")

---

Tags

laravelcommentableakira

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/akira-laravel-commentable/health.svg)

```
[![Health](https://phpackages.com/badges/akira-laravel-commentable/health.svg)](https://phpackages.com/packages/akira-laravel-commentable)
```

###  Alternatives

[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

124603.0k](/packages/worksome-exchange)[tarfin-labs/event-machine

Event-driven state machines for Laravel with event sourcing, type-safe context, and full audit trail.

199.4k](/packages/tarfin-labs-event-machine)

PHPackages © 2026

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