rodion-arr / clear-vietnam-symbols
A tiny function to convert Vietnamese symbols into ASCII
v2.0.0
2021-04-30 22:16 UTC
Requires
- php: ^7.3.0|^8.0.0
Requires (Dev)
- phpunit/phpunit: ^9.1
This package is auto-updated.
Last update: 2025-01-10 08:00:20 UTC
README
This is a tiny function to convert Vietnamese symbols into ASCII
Installation
composer require rodion-arr/clear-vietnam-symbols
Usage
require_once __DIR__.'/vendor/autoload.php'; // Autoload files using Composer $sanitizer = new \RodionARR\VietnameseSymbolSanitizer(); $clearString = $sanitizer->run('ngân hàng vietinbank 79a hàm nghi'); // ngan hang vietinbank 79a ham nghi