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

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

nutnet/laravel-comments
=======================

Extension for actuallymab/laravel-comment package. Allow comment as guest and add other meta-info.

0.1.4(8y ago)14.3kMITPHP

Since Sep 26Pushed 8y ago3 watchersCompare

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

READMEChangelogDependencies (2)Versions (6)Used By (0)

Extension for [actuallymab/laravel-comment](https://github.com/actuallymab/laravel-comment)
-------------------------------------------------------------------------------------------

[](#extension-for-actuallymablaravel-comment)

Original `laravel-comment` package is a good start point for creating commenting system on laravel, but package doesn't allow(out of the box) attach some meta about user or comment, or comment as guest. This extension fix this issues.

#### Install and configure

[](#install-and-configure)

To install package, run:

```
composer require nutnet/laravel-comments
```

Next, enable package by adding service provider to your app config:

```
// config/app.php
'providers' => [
    ...
    Nutnet\LaravelComments\ServiceProvider::class,
    ...
];
```

Optionally add alias for `Nutnet\LaravelComments\Facades\Commenter` facade.

#### Usage

[](#usage)

All usage is identical to original package, except some moments:

1. Use `Nutnet\LaravelComments\CanComment` trait instead of original.
2. Use `Nutnet\LaravelComments\Commentable` trait instead of original.
3. Use `Nutnet\LaravelComments\Models\Comment` model instead of original.

##### As authorized user:

[](#as-authorized-user)

```
use Nutnet\LaravelComments\Services\Commenter;
use Nutnet\LaravelComments\Facades\Commenter as CommenterFacade;

// ... some other code

public function comment(Commenter $commenter)
{
    // variant 1
    $commenter->comment($product, 'Test comment', $user, ['meta' => 'test']);

    // variant 2, without meta
    $user->comment($product, 'Test comment', $rate);

    // variant 3
    CommenterFacade::comment($product, 'Test comment', $user, ['meta' => 'test']);
}
```

##### As guest:

[](#as-guest)

```
use Nutnet\LaravelComments\Services\Commenter;
use Nutnet\LaravelComments\Facades\Commenter as CommenterFacade;

// ... some other code

public function comment(Commenter $commenter)
{
    // variant 1
    $commenter->commentAsGuest($product, 'Test comment', ['meta' => 'test']);

    // variant 2, without meta
    CommenterFacade::commentAsGuest($product, 'Test comment', ['meta' => 'test']);
}
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

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

Total

5

Last Release

3156d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2118695?v=4)[Maxim Khodyrev](/maintainers/maximkou)[@maximkou](https://github.com/maximkou)

---

Top Contributors

[![maximkou](https://avatars.githubusercontent.com/u/2118695?v=4)](https://github.com/maximkou "maximkou (5 commits)")

---

Tags

laravelcommentsnutnetmaximkou

### Embed Badge

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

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

###  Alternatives

[tizis/lara-comments

Comments system for your Laravel application. Features: can be used to comment on any model, HTML filter customization (HTMLPurifier), API, comment rating, replies, events, auth rules ...

1194.7k](/packages/tizis-lara-comments)[fbf/laravel-comments

A Laravel 4 package for adding commenting to a website that has user accounts

204.6k](/packages/fbf-laravel-comments)

PHPackages © 2026

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