willdurand/propel-publishable-behavior
Propel behavior that adds publish/unpublish support to your models and queries. Provides isPublished(), publish()/unpublish(), optional publication timeframes (start/end), and query filters to include/exclude unpublished records or fetch currently active publications.
hasPublicationStarted()/hasPublicationEnded().includeUnpublished()).filterPublished() for public-facing APIs).For Executives: "This package lets us toggle content visibility (publish/unpublish) without deleting data—critical for compliance, A/B testing, or seasonal campaigns. It’s a lightweight, Propel-specific solution that integrates with our existing stack, reducing dev time for moderation workflows. Trade-off: It’s archived (low maintenance risk for short-term needs), but we can mitigate this by wrapping it in a custom service layer."
For Engineers:
*"If we’re using Propel ORM, this gives us OOTB publish/unpublish methods (publish(), unpublish()) with query filters (filterPublished()). Key benefits:
propel.ini./admin vs. /public).hasPublicationStarted() for time-based logic.
Downside: Propel-only; if we’re Eloquent-heavy, we’d need a custom solution. Also, the package is stale, so we’d add tests/updates to a fork."*For Design/UX: *"This enables ‘soft visibility’ for content—think drafts, hidden promotions, or region-locked features. For example:
How can I help you explore Laravel packages today?