PHPackages                             mkaverin/laravel-comments - 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. mkaverin/laravel-comments

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

mkaverin/laravel-comments
=========================

This package provides a simple way to add comments to your Laravel application.

0192PHP

Since Jun 9Pushed 3y ago1 watchersCompare

[ Source](https://github.com/mish-ka-mishka/laravel-comments)[ Packagist](https://packagist.org/packages/mkaverin/laravel-comments)[ RSS](/packages/mkaverin-laravel-comments/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Comments
================

[](#laravel-comments)

This package provides a simple way to add comments to your Laravel application.

Installation
------------

[](#installation)

Run the following command from your project directory to add the dependency:

```
composer require mkaverin/laravel-comments
```

Then, copy and run database migrations:

```
php artisan vendor:publish --provider="Comments\Providers\CommentsServiceProvider" --tag=migrations
```

```
php artisan migrate
```

### Laravel without auto-discovery

[](#laravel-without-auto-discovery)

If you don't use auto-discovery, add the ServiceProvider to the providers array in `config/app.php`:

```
'providers' => [
    ...
    Comments\Providers\CommentsServiceProvider::class,
],
```

Configuration
-------------

[](#configuration)

You can copy the package config with the publish command:

```
php artisan vendor:publish --provider="Comments\Providers\CommentsServiceProvider"
```

You can find published config in `config/comments.php`.

Usage
-----

[](#usage)

### Preparing your model

[](#preparing-your-model)

The model you want to attach comments to must use the `Comments\Traits\HasComments` trait.

Testing
-------

[](#testing)

```
composer test
```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a52f15a8fbb18e0acc6f0aaf265f373be5e24b662ce86a48ac95a927f3bab607?d=identicon)[mish-ka-mishka](/maintainers/mish-ka-mishka)

---

Top Contributors

[![mish-ka-mishka](https://avatars.githubusercontent.com/u/5685141?v=4)](https://github.com/mish-ka-mishka "mish-ka-mishka (6 commits)")

### Embed Badge

![Health badge](/badges/mkaverin-laravel-comments/health.svg)

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

###  Alternatives

[woothee/woothee

Cross-language UserAgent classifier library, PHP implementation

108633.5k4](/packages/woothee-woothee)

PHPackages © 2026

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