takdeniz / laravel-likable-comment
Laravel comment with like/dislike feature
dev-master
2020-02-26 16:14 UTC
Requires
This package is auto-updated.
Last update: 2025-02-27 03:32:40 UTC
README
Basically add comment with like/dislike feature.
This package use actuallymab/laravel-comment
laravel-comment
package is a very good but doesn't allow like/dislike or upvote/downvote for comment. This repo fix this issues
Install and configure
To install package, run:
$ composer require takdeniz/laravel-likable-comment
If you don't use auto-discovery, or using Laravel version < 5.5 Add service provider to your app.php file
\Takdeniz\LikableComment\LikableCommentServiceProvider::class
Publish configurations and migrations, then migrate comments table.
$ php artisan vendor:publish --provider="Takdeniz\LikableComment\LikableCommentServiceProvider"
$ php artisan migrate