⏲️Limit comments per user
You can limit the number of comment per user.
Set Global Limit
// commenter.php
limit = 10; // now a user can make only 10 comments for a model.
Locally
use LakM\Commenter\Concerns\Commentable;
class Post extends Model
{
use Commentable;
$commentLimit = 10;
}
Last updated
Was this helpful?