PHPackages                             cacdigital/accent-string-regex-builder - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. cacdigital/accent-string-regex-builder

Abandoned → [https://github.com/troupe-tecnologia/accent-string-regex-builder](/?search=https%3A%2F%2Fgithub.com%2Ftroupe-tecnologia%2Faccent-string-regex-builder)Library[Utility &amp; Helpers](/categories/utility)

cacdigital/accent-string-regex-builder
======================================

Simple helper to create a regex from string to match all the results ignoring accents.

1.0.0(6y ago)0256MITPHPPHP &gt;=7.1.0

Since Feb 20Pushed 4y agoCompare

[ Source](https://github.com/troupe-tecnologia/accent-string-regex-builder)[ Packagist](https://packagist.org/packages/cacdigital/accent-string-regex-builder)[ RSS](/packages/cacdigital-accent-string-regex-builder/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (2)Used By (0)

AccentStringRegexBuilder
========================

[](#accentstringregexbuilder)

[![Build Status](https://camo.githubusercontent.com/2fd3dfd579c74e54f14a0fede602a5f6802f6cfe117afa757d306483d0c29779/68747470733a2f2f7472617669732d63692e6f72672f6361636469676974616c2f616363656e742d737472696e672d72656765782d6275696c6465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/cacdigital/accent-string-regex-builder)[![License MIT](https://camo.githubusercontent.com/db79b92834d905629b1aea42c9aa493da02060189e2af90840b1be5d6bf6ddf7/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c6174)](https://github.com/cacdigital/accent-string-regex-builder/blob/master/LICENSE)[![Packagist](https://camo.githubusercontent.com/6b4ebf32fcfdc3e233fa8505a293960f3eb19c720659b580ee9856419e3de69f/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74726f7570652d7465636e6f6c6f6769612f616363656e742d737472696e672d72656765782d6275696c6465722e7376673f7374796c653d666c6174)](https://packagist.org/packages/troupe-tecnologia/accent-string-regex-builder)

Simple helper to create a regex from string to match all the results ignoring accents.

Installation
------------

[](#installation)

```
composer require troupe-tecnologia/accent-string-regex-builder

```

Usage
-----

[](#usage)

```
    use AccentStringRegexBuilder\AccentString;

    $input = 'A E I O U C';
    var_dump(AccentString::toRegex($input));

    // Output: '[aáàãâä] [eéèêë] [iíìîï] [oóòõôö] [uúùûü] [cç]'
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

License
-------

[](#license)

ArrayKeysCaseTransform is released under the MIT License. Please see [License File](LICENSE) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 62.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2272d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/474794bb2f7af31f85cd41d13409e62982ed280ed9742589f3c39515cb77dfb4?d=identicon)[cacdigitaluser](/maintainers/cacdigitaluser)

---

Top Contributors

[![cacdigitaluser](https://avatars.githubusercontent.com/u/49288582?v=4)](https://github.com/cacdigitaluser "cacdigitaluser (5 commits)")[![victor-pilotto](https://avatars.githubusercontent.com/u/10198579?v=4)](https://github.com/victor-pilotto "victor-pilotto (3 commits)")

---

Tags

stringregexaccent

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cacdigital-accent-string-regex-builder/health.svg)

```
[![Health](https://phpackages.com/badges/cacdigital-accent-string-regex-builder/health.svg)](https://phpackages.com/packages/cacdigital-accent-string-regex-builder)
```

###  Alternatives

[nette/utils

🛠 Nette Utils: lightweight utilities for string &amp; array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.

2.1k394.3M1.5k](/packages/nette-utils)[composer/pcre

PCRE wrapping library that offers type-safe preg\_\* replacements.

693313.8M34](/packages/composer-pcre)[spatie/regex

A sane interface for php's built in preg\_\* functions

1.1k17.1M59](/packages/spatie-regex)[coduo/php-to-string

Simple library that converts PHP value into strings

27112.7M10](/packages/coduo-php-to-string)[kwn/number-to-words

Multi language standalone PHP number to words converter. Fully tested, open for extensions and new languages.

4235.0M21](/packages/kwn-number-to-words)[opis/string

Multibyte strings as objects

7120.9M7](/packages/opis-string)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
