> For the complete documentation index, see [llms.txt](https://lakm.gitbook.io/commenter/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lakm.gitbook.io/commenter/configuration/limit-comments-per-user.md).

# Limit comments per user

You can limit the number of comment per user.

### Set Global Limit

```php
// commenter.php

limit = 10; // now a user can make only 10 comments for a model. 
```

### Locally

```php
use LakM\Commenter\Concerns\Commentable;

class Post extends Model
{
    use Commentable;
    
    $commentLimit = 10;
}
```
