Skip to content
Available for new work
Pages in Blog

GuidePremium

Moderating comments

The Laravel Blog comments queue in the admin, every tab, filter, row and bulk action, replying as staff, editing a comment and the pending badge, each with a screenshot.

Updated 16 November 2026Back to the package pageBuy

Comments appear in the sidebar under Audience, Comments, and only when the comments module is on (comments.enabled). The reader-facing form and the rules for who may comment are settings, covered in configure. This page is the moderator's side. To close comments on a single post use the Comments tab of the post editor. Moderating needs the ability blog.comments.moderate (see the abilities reference).

The pending badge#

The sidebar Comments item with an amber 3 badge, and the Comments page open on the Pending tab

The amber number beside Comments is the count waiting for moderation. Hover it for the tooltip "Waiting for moderation".

The badge shows the number of pending comments of the blog chosen in the switcher, and disappears at zero. It is the signal to open the queue.

The Comments page on a phone

The same queue at phone width.

Tabs#

The tabs Pending 3, Approved 4, Spam 1, Rejected 0 and All 8

Pending is open by default, because the first question is how many are waiting.

A comment is always in one of four states: Pending (waiting), Approved (public), Spam and Rejected. The tabs run Pending, Approved, Spam, Rejected, All, each with a count.

The Approved tab

Approved comments are the ones readers see.

The Spam tab

Spam keeps the comment but hides it.

The Rejected tab, empty

An empty tab shows "No comments to moderate".

The All tab

All shows every state together, newest first.

Which moves are allowed#

FromCan move to
PendingApproved, Rejected, Spam
ApprovedRejected, Spam
RejectedApproved, Spam
SpamApproved, Rejected

The row menu shows only the moves that are allowed for that comment.

Empty state#

An empty tab with the heading No comments to moderate

A tab with no comments shows this card.

Columns#

The columns Post, Author, Body, Status and Date

The columns fit a 1440 pixel screen without a sideways scroll.

  • Post: the title of the post commented on, cut to 22 characters.
  • Author: the name the commenter gave. Searchable with the box above the table.
  • Body: the start of the comment, cut to 36 characters.
  • Status: a coloured badge: Pending (amber), Approved (green), Rejected (grey), Spam (red).
  • Date: when it was written, for example "16 Nov, 20:44". Sortable; newest first by default.

Filters#

The Filters panel with Status, Post, and From and Until date pickers

Click the funnel icon. Filters combine with the tab and the search.

  • Status: Pending, Approved, Rejected or Spam. Default: all.
  • Post: one of the blog's posts, by title. Shows the comments on that post only.
  • Date: two date pickers, From and Until. Either can be left empty; the dates are inclusive.

Row actions#

A row with the eye, pencil and Approve buttons and a three-dot menu

View and Edit are icons, Approve is beside them, and the rest are in the menu.

  • View (eye icon): opens the comment view.
  • Edit (pencil icon): opens the edit form.
  • Approve: makes the comment public. Shows a notification "Comment approved". Shown when the comment may move to Approved.
  • Reject (menu): hides it as not suitable. "Comment rejected".
  • Spam (menu): marks it as spam. "Comment spam".
  • Delete (menu, asks you to confirm): removes the comment for good. "Comment deleted".
  • Reply as staff (menu): see below.

If a move is refused, an error notification says why and nothing changes.

A notification saying the comment was approved

Each action ends with a notification.

The row menu of an approved comment, with Reply as staff

On an approved comment the menu also offers Reply as staff.

Reply as staff#

The Reply as staff modal with a required Reply text box

Write the reply and submit.

  • Where: the row menu, on approved comments only.
  • Reply: required text, up to 5000 characters.
  • What it does: publishes your reply under the comment as staff. A notification reads "Reply published".

Bulk actions#

The Bulk actions menu with Approve, Reject, Mark as spam and Delete

Tick rows and open Bulk actions* at the top left of the table.*

  • Approve, Reject, Mark as spam: move every selected comment. Comments that cannot make that move are skipped. The notification reports it, for example "3 approved, 1 skipped". The selection clears afterwards.
  • Delete: asks you to confirm, then deletes the selected comments. "4 deleted".

View a comment#

The View Comment page: a Comment box and a Moderation history box

Everything about one comment, read only. Edit* is at the top right.*

The Comment box shows:

  • Post: the post title. Author: the name given. Email: the address given, or "(none)".
  • Status: the badge. Written: when the comment was made.
  • Edited and Edited by: shown only after a moderator has edited the comment, with the staff user's name.
  • Body: the full text.

The Moderation history box lists every move the comment has been through, with From ("(new)" for the first), To, By (the user, or "(system)" for automatic moves), Reason and When. A comment that has not been moderated yet has an empty history, as in the capture.

Edit a comment#

The Edit Comment page with the read only Post, Author and Status and an editable Body with a character count

Only the body can be changed.

  • Post, Author, Status, Edited, Edited by: read only. The two Edited entries appear after the first edit.
  • Body: required, 8 lines. The limit is the blog's max_length comment setting, and the helper counts as you type ("42 / 2000 characters"). The text is cleaned the same way as a reader's comment before it is saved.
  • Save: shows "Comment updated" and records who edited and when. If the change is blocked, or you are not allowed, a red notification says why and nothing is saved.
  • Use it when: you need to remove an address or a rude word and approve the rest.

Available for new work

UK based · PHP · Python · JS · TS. Every first call is free.