A Laravel package for moderating content with approval, rejection, and pending states to keep applications clean.
Laravel Moderation is a Laravel package that provides a content moderation system for Eloquent models. It allows developers to implement approval workflows where resources like posts or comments can be marked as pending, approved, rejected, or postponed, ensuring only moderated content appears in queries. It solves the problem of managing user-generated content by automating visibility based on moderation status.
Laravel developers building applications with user-generated content, such as forums, blogs, or social platforms, who need to implement moderation features. It's also suitable for administrators who require tools to review and control content before it goes live.
Developers choose Laravel Moderation because it integrates seamlessly with Laravel's Eloquent ORM, uses a simple trait-based approach, and provides built-in query scopes for filtering moderated content. It eliminates the need to build custom moderation logic from scratch, saving time while ensuring robust content control.
A simple Content Moderation System for Laravel 5.* that allows you to Approve or Reject resources like posts, comments, users, etc.
Uses a simple trait-based approach, as shown in the model setup, allowing quick addition to any Eloquent model without disrupting existing code.
By default, queries only return approved resources, hiding unmoderated content automatically, which simplifies frontend implementation.
Provides built-in scopes like pending() and withRejected() for easy access to different moderation states, reducing custom query logic.
Allows customization of column names for status, timestamp, and moderator ID through config or model constants, offering flexibility for existing schemas.
Only supports basic statuses (approve/reject/postpone) without built-in support for moderation comments, reasons, or audit trails, which may require additional development.
The package focuses solely on backend functionality, forcing developers to build their own UI for moderators to review and manage content.
Requires adding columns to each moderated model's table, which can be cumbersome for large, existing applications and may involve complex migrations.
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
Debugbar for Laravel (Integrates PHP Debug Bar)
IDE Helper for Laravel
PHP Image Processing
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.