Hi, i want to format MessageBag before going to toJson and i was thinking if it's possible to do something like this or do i have to modify MessageBag myself?
$messages = $validator->messages()->setFormat('<p>:message</p>')->toJson();
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community