PHPackages                             danbettles/telex - 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. danbettles/telex

ActiveLibrary

danbettles/telex
================

v0.0.0-alpha.4(4y ago)1673MITPHPPHP &gt;=7.4.29

Since Feb 5Pushed 1y ago1 watchersCompare

[ Source](https://github.com/libtelex/telex)[ Packagist](https://packagist.org/packages/danbettles/telex)[ RSS](/packages/danbettles-telex/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

Telex
=====

[](#telex)

*Telex* finds telephone numbers in text.

*Telex* is used by [SeeTheWorld](https://www.seetheworld.com/).

Usage
-----

[](#usage)

For now:

```
use DanBettles\Telex\Telex;
use DanBettles\Telex\NumberFinder;
use DanBettles\Telex\CountryTelephoneNumberMatcherFactory;

$telex = new Telex(new NumberFinder(), new CountryTelephoneNumberMatcherFactory());
$matches = $telex->findAll('A UK landline number: (01234) 567 890.  A UK mobile number: +44 (0)7123 456 789.');
```

TODO
----

[](#todo)

- Encode patterns for area codes, and well-structured local numbers, whenever practicable, to increase the precision of the matcher.
- Write more tests, especially for `Telex`.
- Handle multiple adjacent numbers.
- Add logging to the find methods in Telex to make it easier to identify the causes of mismatches.

Background
----------

[](#background)

Having written something horribly inflexible to deal with European telephone numbers, I wanted to see if I could write something relatively simple - and a little more elegant - that would detect *any* telephone number with a degree of precision. *Telex* is certainly more elegant, and probably more useful, than my previous solution, but it's still far from being perfect - it's still too naive, I think. It's an interesting challenge and we'd appreciate your input - thank you.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 72.7% 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

Every ~475 days

Total

5

Last Release

1482d ago

PHP version history (2 changes)v0.0.0-alpha.0PHP &gt;=5.4.0

v0.0.0-alpha.4PHP &gt;=7.4.29

### Community

Maintainers

![](https://www.gravatar.com/avatar/fb4422c02b29b1ae4a4746abb1ebf16c0216d5fc62cf0604e7c6aa4de974b39b?d=identicon)[danbettles](/maintainers/danbettles)

---

Top Contributors

[![danbettles](https://avatars.githubusercontent.com/u/736672?v=4)](https://github.com/danbettles "danbettles (16 commits)")[![adumitrache](https://avatars.githubusercontent.com/u/25303335?v=4)](https://github.com/adumitrache "adumitrache (4 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (2 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/danbettles-telex/health.svg)

```
[![Health](https://phpackages.com/badges/danbettles-telex/health.svg)](https://phpackages.com/packages/danbettles-telex)
```

PHPackages © 2026

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