rodion-arr/clear-vietnam-symbols

A tiny function to convert Vietnamese symbols into ASCII

v2.0.0 2021-04-30 22:16 UTC

This package is auto-updated.

Last update: 2025-01-10 08:00:20 UTC


README

PHP Composer codecov Latest Stable Version License

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