codewithtony / laravel-active-attribute Goto Github PK
View Code? Open in Web Editor NEWLaravel Active Attribute adds `withInactive` and `onlyInactive` functionality to an Eloquent Model. This can be used to automatically hide inactive records unless otherwise desired.