inital commit

This commit is contained in:
2024-02-01 09:53:53 +00:00
commit 9743fce12b
19771 changed files with 4230637 additions and 0 deletions

14
app/Helpers/EnToFa.php Normal file
View File

@@ -0,0 +1,14 @@
<?php
namespace App\Helpers;
class EnToFa
{
public static function convert($number)
{
$en = array("0","1","2","3","4","5","6","7","8","9");
$fa = array("۰","۱","۲","۳","۴","۵","۶","۷","۸","۹");
$numberFa = str_replace($en, $fa, $number);
return $numberFa;
}
}