Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Lochinvar's avatar

Userstamps

I copied and adapted the HasTimestamps trait in Eloquent/Concerns (and adapted Eloquent/Model.php) so that I could have Userstamps - i.e. created_by and updated_by on the model. (I just use the logged in user id.) Obviously every time I do an update on Laravel that gets lost (breaking my app...). Is this something anyone else would find useful to be included in Eloquent?

0 likes
1 reply

Please or to participate in this conversation.