alajusticia/laravel-expirable
Laravel Expirable lets you make any Eloquent model expirable with a simple trait. Add expiration timestamps, query scopes for active or expired records, and helper methods to expire or restore entries, making time-limited data like trials, posts, or tokens easy to manage.
Laravel Expirable adds automatic expiration to any Eloquent model with a single trait. Attach it to a model and gain an expires_at timestamp, expiration-aware query scopes, and simple helpers to check, set, or extend a record's lifetime—no extra tables or migrations required.
Expirable traitHow can I help you explore Laravel packages today?