Hello everton3x,
if i can summarize what you mean: You want to format the modle fileds in your view. if so you can use laravel Accessors and Mutators( setters and getters ) to achieve this.
https://laravel.com/docs/11.x/eloquent-mutators#accessors-and-mutators
Do let me know if this solves the problem. Thank you
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community