1
I am working on a database already populated and I need to do the replacement of ,
for .
and of /
for -
without having to use the frontend only in the model.
1
I am working on a database already populated and I need to do the replacement of ,
for .
and of /
for -
without having to use the frontend only in the model.
Browser other questions tagged laravel replace
You are not signed in. Login or sign up in order to post.
Could you put together a minimal example? Why are these changes? Tell me more about this legacy database
– novic
for this, you can use the Mutators. Follow the documentation link: Eloquent: Mutators
– Odilon Garcez
Very Odilon Garcez The Mutators Resonated
– Richard Carlos