https://github.com/ohmydevops/chalqoz
تبدیل کاراکتر اعداد فارسی به انگلیسی داخل جملات و بالعکس در پیاچپی
https://github.com/ohmydevops/chalqoz
php
Last synced: 11 months ago
JSON representation
تبدیل کاراکتر اعداد فارسی به انگلیسی داخل جملات و بالعکس در پیاچپی
- Host: GitHub
- URL: https://github.com/ohmydevops/chalqoz
- Owner: ohmydevops
- License: mit
- Created: 2020-11-22T08:18:54.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-09-04T19:32:51.000Z (almost 3 years ago)
- Last Synced: 2025-05-12T14:13:16.606Z (about 1 year ago)
- Topics: php
- Language: PHP
- Homepage:
- Size: 28.3 KB
- Stars: 11
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/ohmydevops/chalqoz/actions/workflows/test.yml) [](https://github.styleci.io/repos/314990451?branch=main) [](//packagist.org/packages/amirbagh75/chalqoz) [](//packagist.org/packages/amirbagh75/chalqoz) [](//packagist.org/packages/amirbagh75/chalqoz)
## Chalqoz (چلغوز)
This package only converts Persian and English number characters to each other.
مواقع زیادی پیش میومد که نیاز داشتم کاراکترهای عددی رو به همدیگه تبدیل کنم، مثلا در بخش ورود شماره همراه کاربران، نمیخواستیم کاربر رو مجبور کنیم که کیبوردش حتما به زبان خاصی باشه، در نتیجه باید در سمت سرور این نرمالایز شدن به یک زبان خاص (مثلا کاراکترهای انگلیسی) صورت میگرفت. بهخاطر همین استفادههای متوالی **چلغوز** رو درست کردم.
### How to install:
```
composer require amirbagh75/chalqoz
```
### Example
```php