reisraff/accentuation

This repository works making a parser in some string replacing the accented characters

Maintainers

πŸ‘ reisraff

Package info

github.com/reisraff/accentuation

pkg:composer/reisraff/accentuation

Statistics

Installs: 292 422

Dependents: 8

Suggesters: 0

Stars: 4

Open Issues: 0

2.0.2 2016-02-13 23:25 UTC

Requires

  • php: >=5.3.0

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT cb15244c431ce711ec7e5b77c18b801305d7cb16

packageparserreplaceremoveaccentuation

This package is auto-updated.

Last update: 2026-06-28 07:31:49 UTC


README

πŸ‘ Latest Stable Version
πŸ‘ Total Downloads
πŸ‘ Latest Unstable Version
πŸ‘ License
πŸ‘ Build Status

This library works by replacing all accented characters to not accented characters.

To use

Add in your composer.json

"require" : {
 "reisraff/accentuation" : ">=2.0.2"
}

Using in your code

<?php

namespace MyNameSpace;

use Accentuation\Accentuation;

class MyClass
{
 public function test()
 {
 return Accentuation::remove('This string will be returned without accentuation Ñéíóú');
 }
}

Tests

To run the test suite, you need install the dependencies via composer, then run PHPUnit.

$ composer install
$ phpunit

You can also use the following command to run the most common QA checks, such as php -l, phpcs, phpunit:

$ ant check