samk369/laravel-commentable is a Laravel package for polymorphic threaded comments for laravel.
It currently has 0 GitHub stars and 3 downloads on Packagist (latest version 1.0).
Install it with composer require samk369/laravel-commentable.
Discover more Laravel packages by samk369
or browse all Laravel packages to compare alternatives.
Last updated
Laravel Commentable adds polymorphic threaded comments to Laravel 7 and above. (based on dead slynova/laravel-commentable)
This package use Nested Set pattern with Baum.
More information about Nested Set
Require the package with Composer.
$ composer require samk369/laravel-commentable
Add the package to your application service providers in config/app.php.
'providers' => [
Illuminate\Foundation\Providers\ArtisanServiceProvider::class,
Illuminate\Auth\AuthServiceProvider::class,
...
samk369\Commentable\ServiceProvider::class,
],
Publish the package's migrations to your application and migrate.
$ php artisan vendor:publish --provider="samk369\Commentable\ServiceProvider" --tag="migrations"
$ php artisan migrate
TODO
Nothing has been changed from the first release.
Support follows PSR-2 PHP coding standards, and semantic versioning.
Please report any issue you find in the issues page. Pull requests are welcome.