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.
withExpired(), onlyExpired(), onlyEternal(), and expiredSince(), and fixes several type definitions including date parameters, fluent returns, key IDs, and schema macros. Regression tests were added for builders and relationships.How can I help you explore Laravel packages today?