Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Drafts Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs Buy: Eliminates the need to build a custom drafts system from scratch, saving 2-3 weeks of engineering effort for common content workflows. Proven solution with 420+ stars and active maintenance.
  • Roadmap Impact: Enables content teams to implement "draft → review → publish" workflows for blog posts, product descriptions, or user-generated content without complex custom development. Critical for CMS-style features where non-technical users need safe editing before public exposure.
  • Use Case Fit: Ideal for applications requiring versioned content (e.g., e-commerce product updates, marketing landing pages, or documentation systems) where accidental public publishing must be prevented. Handles relational data (e.g., tags, categories) automatically during draft publishing.

When to Consider This Package

  • Adopt when: You need a simple, drop-in solution for basic draft/revisions workflows in Laravel 9-12; require automatic relation handling (HasOne/HasMany/BelongsToMany); or want preview mode for staging content. Best for teams without dedicated CMS requirements.
  • Look elsewhere when: You need advanced approval workflows (e.g., multi-level signoffs), granular permission controls beyond Laravel's auth, or custom revision comparison UIs. Avoid if your project requires legacy Laravel versions (<9) or has non-standard database requirements (e.g., custom UUID strategies).
  • Red flags: The 0 dependents metric suggests limited real-world adoption; verify compatibility with your specific Laravel version and test relation handling for complex models before full integration.

How to Pitch It (Stakeholders)

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."

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4
php-http/client-implementation
phpcr/phpcr-implementation
cucumber/gherkin-monorepo
haydenpierce/class-finder
psr/simple-cache-implementation