revisor table for metadata (revisions, drafts).HasRevisions, HasDrafts for model-level integration.Revising, Revised, Drafting, Drafted for extensibility.revisor table names are used elsewhere.revisor table (test under load).laravel-revisor-filament).composer require indracollective/laravel-revisor.php artisan vendor:publish --tag="revisor-config".php artisan migrate (auto-creates revisor table).use IndraCollective\Revisor\Traits\HasRevisions;
use IndraCollective\Revisor\Traits\HasDrafts;
class Post extends Model {
use HasRevisions, HasDrafts;
}
config/revisor.php (e.g., who can publish).laravel-revisor-filament and configure resources.draft(), publish(), and revisions() methods.revisor table names (unlikely, but check).Revising/Revised listeners exist.BlogPost).Revising to add custom metadata).RevisorServiceProvider for global policies.php artisan revisor:list-revisions (built-in CLI).spatie/laravel-activitylog for broader audit needs.revisable_type if storing millions of revisions.revisable_type, revisable_id, and created_at are indexed.revisor table could break revisions.php artisan migrate after install.AppServiceProvider.draft() vs. publish() methods.revisions() relationship.How can I help you explore Laravel packages today?