rap2hpoutre/convert-accent-characters

Converts all accent characters to ASCII characters

v0.2.0 2018-06-14 20:22 UTC

This package is auto-updated.

Last update: 2024-11-05 21:30:21 UTC


README

Packagist Packagist Build Status Scrutinizer Code Quality

Converts all UTF-8 accent characters to ASCII characters.

Installation

composer require rap2hpoutre/convert-accent-characters

Usage

use function Rap2hpoutre\ConvertAccentCharacters\convert_accent_characters;

echo convert_accent_characters('Ça plaît à sa majesté');

// echo "Ca plait a sa majeste"