@php function convertToMarathiNumerals($input) { $englishDigits = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']; $marathiDigits = ['०', '१', '२', '३', '४', '५', '६', '७', '८', '९']; // Replace each English digit with its Marathi equivalent return str_replace($englishDigits, $marathiDigits, $input); } @endphp Letter