wp-kit/softdeletes
Soft deletes for WordPress models in the WP Kit ecosystem. Trash records instead of permanently deleting them, restore when needed, and keep queries clean with automatically excluded trashed rows.
wp-kit/softdeletes adds reusable soft delete support to wp-kit models. Instead of permanently removing records, it flags them as deleted so they can be hidden from normal queries and restored later—ideal for content that needs an undo path or audit trail.
Drop the SoftDeletes trait into any model to get timestamped deletion and a clean, expressive API for managing trashed records without touching your schema or rewriting queries.
How can I help you explore Laravel packages today?