dwightwatson/rememberable
Rememberable adds a remember() method to Eloquent queries that stores the SQL result in the configured cache for a given duration and returns it instead of hitting the database again. The trait can be applied to a base model or to individual models, and durations are passed as seconds or a DateTime from Laravel 5.8 onward. On Laravel 13, the cache's serializable_classes setting must allow the cached model classes.
Maintenance activity