PHPackages                             fabriscorol/bj\_phone\_number - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. fabriscorol/bj\_phone\_number

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

fabriscorol/bj\_phone\_number
=============================

A minimal module to validate Beninese mobile phone numbers.

00PHP

Since Apr 1Pushed 7y ago1 watchersCompare

[ Source](https://github.com/fabriscorol/bj_mobile_phone)[ Packagist](https://packagist.org/packages/fabriscorol/bj_phone_number)[ RSS](/packages/fabriscorol-bj-phone-number/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

bj\_phone\_number
=================

[](#bj_phone_number)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b98d8c5bab006d98f6d337896ea1dca22a4e6de7ab679fcf139e610cc829760d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666162726973636f726f6c2f626a5f70686f6e655f6e756d6265722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/fabriscorol/bj_phone_number)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/87e212c1593be38da6a521a2880a0b7e1d836d188bf89a7cc915c27f7699d5b0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f666162726973636f726f6c2f626a5f70686f6e655f6e756d6265722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/fabriscorol/bj_phone_number)

A minimal module to validate Beninese mobile phone numbers. Inspired by [nioperas06](https://github.com/nioperas06/bj_phone_number) Python project

Structure
---------

[](#structure)

```
src/
tests/
vendor/

```

Install
-------

[](#install)

Via Composer

```
$ composer require fabriscorol/bj_phone_number
```

Usage
-----

[](#usage)

```
$validator = new fabriscorol\BjPhoneNumber();
echo $validator->validateNumber(97970001);
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Fabrice TOHIONON](https://github.com/fabriscorol)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

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

### Community

Maintainers

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

---

Top Contributors

[![fabriscorol](https://avatars.githubusercontent.com/u/3535496?v=4)](https://github.com/fabriscorol "fabriscorol (5 commits)")

### Embed Badge

![Health badge](/badges/fabriscorol-bj-phone-number/health.svg)

```
[![Health](https://phpackages.com/badges/fabriscorol-bj-phone-number/health.svg)](https://phpackages.com/packages/fabriscorol-bj-phone-number)
```

###  Alternatives

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k894.0M1.2k](/packages/webmozart-assert)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.9M104](/packages/bensampo-laravel-enum)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.5M73](/packages/swaggest-json-schema)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[ashallendesign/laravel-config-validator

A package for validating your Laravel app's config.

217905.3k5](/packages/ashallendesign-laravel-config-validator)[crazybooot/base64-validation

Laravel validators for base64 encoded files

1341.9M8](/packages/crazybooot-base64-validation)

PHPackages © 2026

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