Support the ongoing development of Laravel.io →
Database Eloquent
Last updated 2 years ago.
0

Can you please describe what you have tried at this point?

Last updated 2 years ago.
0

I was having the same issue and it turned out my model had a boot method so the one on the trait was not being called.

0

@Ben-Speakman you may try this one instead: https://github.com/jarektkaczyk/revisionable

There's no conflict with any of the Eloquent methods, boot including, and it has some other nice features.

Last updated 9 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.