pawelmysior/laravel-publishable
published_at timestamps to gate features/updates behind time-based triggers (e.g., "publish this update to 10% of users after 7 days").SoftDeletes or Delete behavior instead.published_at indexing is optimized (this package assumes standard indexing).For Executives: *"This package lets us toggle content visibility (e.g., blog posts, product listings) with a single line of code—no extra infrastructure. For example, we can:
For Engineers: *"This trait adds three key methods to Eloquent models:
published()/unpublished() scopes for querying (e.g., Post::published()->get()).isPublished() for model-level checks.publish()/unpublish() actions with published_at timestamps.
Why use it?published_at column and the trait.How can I help you explore Laravel packages today?