Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rap2hpoutre/convert-accent-characters
Converts all UTF-8 accent characters to ASCII characters
https://github.com/rap2hpoutre/convert-accent-characters
accent characters composer i18n l10n package php utf-8
Last synced: 24 days ago
JSON representation
Converts all UTF-8 accent characters to ASCII characters
- Host: GitHub
- URL: https://github.com/rap2hpoutre/convert-accent-characters
- Owner: rap2hpoutre
- Created: 2017-12-27T15:40:45.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-14T20:24:14.000Z (over 6 years ago)
- Last Synced: 2024-10-07T03:17:34.639Z (about 1 month ago)
- Topics: accent, characters, composer, i18n, l10n, package, php, utf-8
- Language: PHP
- Homepage:
- Size: 13.7 KB
- Stars: 4
- Watchers: 2
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Convert accent characters
[![Packagist](https://img.shields.io/packagist/v/rap2hpoutre/convert-accent-characters.svg)](https://packagist.org/packages/rap2hpoutre/convert-accent-characters)
[![Packagist](https://img.shields.io/packagist/l/rap2hpoutre/convert-accent-characters.svg)](https://packagist.org/packages/rap2hpoutre/convert-accent-characters)
[![Build Status](https://travis-ci.org/rap2hpoutre/convert-accent-characters.svg?branch=master)](https://travis-ci.org/rap2hpoutre/convert-accent-characters)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/rap2hpoutre/convert-accent-characters/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/rap2hpoutre/convert-accent-characters/?branch=master)Converts all UTF-8 accent characters to ASCII characters.
## Installation
```bash
composer require rap2hpoutre/convert-accent-characters
```## Usage
```php
use function Rap2hpoutre\ConvertAccentCharacters\convert_accent_characters;echo convert_accent_characters('Ça plaît à sa majesté');
// echo "Ca plait a sa majeste"
```