Publisher is a Laravel package that provides a complete content publishing workflow, allowing you to maintain both published and draft versions of your content simultaneously. Editors can work on changes without affecting the live published version until changes are explicitly published.
- Installation - Get up and running with Publisher
- Core Concepts - Understand the fundamentals of the publishing workflow
- IsPublishable - The main trait for making models publishable
- HasPublishablePivotAttributes - Draft support for custom pivot model attributes
- InteractsWithPublishableContent - Override relationship methods with publishable versions
- Draft Management - How draft attributes are stored and synced
- Publishing Workflow - Publishing, unpublishing, and reverting content
- Publishable Relationships - BelongsToMany and MorphToMany with draft support
- Dependent Models - Cascading publish state to child models
- Events - Lifecycle events for the publishing workflow
- Querying - Query scopes and draft-aware WHERE clauses
- Middleware - Controlling draft content visibility
- URL Rewriting - Preserving draft visibility across navigation
- Authorization - Gates and permissions
- Custom Workflow States - Extending beyond published/draft
- Schema Conflicts - Handling column renames and drops
- Custom Pivot Models - Advanced pivot table configurations
- Admin Panel Integration - Nova, Filament, and Backpack guides
- Plank Ecosystem - Related packages and dependencies