Download the PHP package mll-lab/laravel-comment without Composer
On this page you can find all versions of the php package mll-lab/laravel-comment. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mll-lab/laravel-comment
More information about mll-lab/laravel-comment
Files in mll-lab/laravel-comment
Package laravel-comment
Short Description Just another comment system for your awesome Laravel project.
License MIT
Homepage https://github.com/mll-lab/laravel-comment
Informations about the package laravel-comment
Laravel Comment
Just another comment system for your awesome Laravel project.
Install
Via Composer:
composer require mll-lab/laravel-comment
Publish configurations and migrations, then migrate the comments
table:
php artisan vendor:publish
php artisan migrate
Add the CanComment
trait to your User model:
Add the Commentable
interface and the HasComments
trait to your commentable model(s):
If you want to have your own Comment
Model create a new one and extend Actuallymab\LaravelComment\Models\Comment
:
Don't forget to update the model class in
config/comment.php
.
Allow rating
Require comments to be approved
Allow some users to comment without approval
Usage
Tip: You might want to look at the tests/CommentTest.php file to check all potential usages.
Changelog
All notable changes to this project are documented in CHANGELOG.md
.
Contributing
See CONDUCT.
Security
If you discover any security related issues, email [email protected] instead of using the issue tracker.
Credits
- Mehmet Aydın Bahadır
- All Contributors
All versions of laravel-comment with dependencies
illuminate/contracts Version ~5.5.0 || ~5.6.0 || ~5.7.0 || ~5.8.0 || ^6 || ^7 || ^8 || ^9 || ^10 || ^11
illuminate/support Version ~5.5.0 || ~5.6.0 || ~5.7.0 || ~5.8.0 || ^6 || ^7 || ^8 || ^9 || ^10 || ^11