Hi I want to record a lot of models before and after modification.
Yeah. I know there is dirty() and isclean() things.
But I have to record all data before and after , so I could check which model has problem to updateOrCreate.
I do this.
Log::info( $myModel );
it is written on log file.
local.INFO: {"id":90638719,"target_id":1,"time":1595178000,.... }
I want make it pretty ..
Does someone have an idea about this?
Thanks.