oddvalue/laravel-drafts
Drop-in drafts and revisions for Laravel Eloquent models. Create, save, publish, and preview revisions with a simple API, middleware support, and minimal setup—ideal for CMS-style editing workflows without building a custom versioning system.
Executives: "This package gives us a battle-tested, open-source solution for content drafting and versioning—eliminating 3+ weeks of engineering work while reducing risk. It’s already used in production across 420+ projects, handles all the tricky edge cases (like relation syncing), and lets our content team safely preview changes before publishing—directly supporting faster content rollouts and fewer go-live errors."
Engineering: "It’s a drop-in trait with zero configuration for basic use cases—just add HasDrafts to your models and go. Handles revision tracking, relation syncing, preview modes, and soft deletes out of the box. Tested across Laravel 9-12 with clear migration helpers and minimal boilerplate. We avoid maintaining custom draft logic while getting reliable, documented behavior for common content workflows."
How can I help you explore Laravel packages today?