rap2hpoutre / convert-accent-characters
Converts all accent characters to ASCII characters
Installs: 18 827
Dependents: 1
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 5
Open Issues: 1
Requires
- php: ^7.0
Requires (Dev)
- phpunit/phpunit: ^6.4
This package is auto-updated.
Last update: 2024-11-05 21:30:21 UTC
README
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"