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.
current()/published() scopes.previewMode()).publisher relation.For Executives: "This package lets us ship content updates without downtime. Editors can draft and preview changes in staging, while the public sees only approved versions. It’s like Git for our database—automated revision history, relation syncing, and a 10-minute setup. Used by [X] teams at [Y] scale, with zero maintenance overhead."
For Engineers: *"Laravel Drafts gives us:
HasOne, HasMany, and BelongsToMany relations.Schema::table('posts', fn(Blueprint $table) => $table->drafts());
Tradeoff: Adds 5 columns per model (configurable). Ready for MVP in 2 hours."*How can I help you explore Laravel packages today?