optix/eloquent-draftable
A Laravel package that adds draft and published states to Eloquent models, letting you save work-in-progress records and publish them later. Drafts stay separate from live content, so unfinished entries remain hidden from your application's normal queries until you're ready.
Architecture fit
Integration feasibility
Technical risk
Key questions (to resolve before any commitment)
illuminate/* and php constraints does v2.1.0 declare, and does it install cleanly on our target Laravel and PHP versions? (Confirm it does not merely widen to Laravel 8 while locking PHP below our baseline.)belongsToMany, hasMany, and media/attachment relations handled on a draft — copied, shared, or unsupported?updated_at semantics, and global scopes — are drafts excluded from default queries?Stack fit
Migration path (if we proceed)
Compatibility
DB::transaction, model observers, and queued jobs that hydrate models — draft rows leaking into background workers is a classic failure.composer.json constraints against our dependency graph before writing any migration.Sequencing
Maintenance
Support
Scaling
Failure modes (ranked by likelihood × impact)
belongsToMany pivots that publish does not apply. High impact, hard to detect.Ramp-up
How can I help you explore Laravel packages today?