Skip to content

Admin panel

Built into vigstudio/vgcomments (v1.3+).

Access

  1. Put your user id in config/vgcomment.php:
php
'moderation_users' => [
    'web' => [1],
],
  1. Log in with that account.
  2. Open:
https://your-app.test/vgcomments/admin

Replace vgcomments with your prefix value.

PathPurpose
/{prefix}/adminDashboard — list, filter, search, bulk actions
/{prefix}/admin/settingRuntime settings (guests, length, tags, reCAPTCHA, …)

Middleware: web + vgcomment-moderate.

Assets

Admin styles come from:

public/vendor/vgcomments/css/style.css

Publish if missing:

bash
php artisan vendor:publish --tag=vgcomment-assets --force

Unstyled admin almost always means this folder was not deployed. See Deploy & assets.

Capabilities

  • Filter by status / search text
  • Approve, spam, trash, restore, force-delete
  • Bulk actions
  • Edit comment content from the drawer
  • Update settings without redeploying config (stored in vgcomment_settings)

MIT · Blade-first for 2.x · Livewire 4 supported