PHPackages                             mv/number-words-fr - 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. mv/number-words-fr

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mv/number-words-fr
==================

Convert to words any integer in french

1.0.1(2y ago)11141GPL-3.0-onlyPHPPHP &gt;=7.4.30

Since Aug 10Pushed 2y ago1 watchersCompare

[ Source](https://github.com/phpmike/MvNumberWordsFrConverter)[ Packagist](https://packagist.org/packages/mv/number-words-fr)[ Docs](https://github.com/phpmike/MvNumberWordsFrConverter)[ RSS](/packages/mv-number-words-fr/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (1)

Mv\\NumberWordsFr\\Converter
============================

[](#mvnumberwordsfrconverter)

Converts numbers into words in French (FR\_fr) up to 999,999,999,999,999,999.

Build Status
------------

[](#build-status)

[![License](https://camo.githubusercontent.com/9d1ea68a2caecadee62d454e0c9428afe1d482af9c26e1c2b55609171d0e5076/687474703a2f2f706f7365722e707567782e6f72672f6d762f6e756d6265722d776f7264732d66722f6c6963656e7365)](https://packagist.org/packages/mv/number-words-fr)[![Build Status](https://camo.githubusercontent.com/98da72938ff4019afaee7b901767dc37bf6c407f4678912c319507db9d795c90/68747470733a2f2f6170702e7472617669732d63692e636f6d2f7068706d696b652f4d764e756d626572576f7264734672436f6e7665727465722e7376673f6272616e63683d312e30)](https://app.travis-ci.com/phpmike/MvNumberWordsFrConverter)[![Latest Stable Version](https://camo.githubusercontent.com/ca9eeb59ba01a17e67a0a39110b18d29ad0066ca1c097614752b4d1317d6b6fd/687474703a2f2f706f7365722e707567782e6f72672f6d762f6e756d6265722d776f7264732d66722f76)](https://packagist.org/packages/mv/number-words-fr)[![PHP Version Require](https://camo.githubusercontent.com/e71ea21461ba6a9364a4e72075d5fe34f83a99913920894ebddb301a6ae5604e/687474703a2f2f706f7365722e707567782e6f72672f6d762f6e756d6265722d776f7264732d66722f726571756972652f706870)](https://packagist.org/packages/mv/number-words-fr)[![Test Coverage](https://camo.githubusercontent.com/70125dca01d21e2b0ff0b5239a26c85e1da66aed0cc0bd8365b6abdea0735557/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f63303564316161363061383334613634613963352f746573745f636f766572616765)](https://codeclimate.com/github/phpmike/MvNumberWordsFrConverter/test_coverage)[![Maintainability](https://camo.githubusercontent.com/dd58497c389b426968dfba37a6cf74aa83db78084d744f58f5c8ac67f07ba90b/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f63303564316161363061383334613634613963352f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/phpmike/MvNumberWordsFrConverter/maintainability)

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

[](#installation)

To install this library, you can add it as a dependency to your project using Composer:

```
composer require mv/number-words-fr-converter
```

Usage
-----

[](#usage)

To use the library, create an instance of IntToWordsFrConverter and call the convert method:

```
use Mv\NumberWordsFr\Converter\IntToWordsFrConverter;

$converter = new IntToWordsFrConverter();
$result = $converter->convert(12345);

echo $result; // "douze mille trois cent quarante-cinq"
```

Other locales

```
use Mv\NumberWordsFr\Converter\IntToWordsFrBeConverter;
use Mv\NumberWordsFr\Converter\IntToWordsFrCaConverter;

$converter = new IntToWordsFrBeConverter();
$resultBe = $converter->convert(72);
$converter = new IntToWordsFrCaConverter();
$resultCa = $converter->convert(72);

echo $resultBe; // "Septante-deux"
echo $resultCa; // "Soixante-douze"
```

Exists with Fr, FrBe, FrCh, FrCa, FrLu, FrMa, FrTn

Methods
-------

[](#methods)

### `convert(int $int): string`

[](#convertint-int-string)

Converts an integer into words.

- `$int`: The integer to convert into words.

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

[](#contributing)

Any contributions, suggestions, or bug reports are welcome! Here's how you can contribute:

1. Fork the repository.
2. Create a branch for your changes: `git checkout -b feature/my-feature`.
3. Make your changes and commit: `git commit -am 'Added my feature'`.
4. Push to the branch: `git push origin feature/my-feature`.
5. Create a pull request to the concerned branch of the repository.

License
-------

[](#license)

This project is licensed under the GNU General Public License v3.0. See the [LICENSE](LICENSE) file for details.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~3 days

Total

3

Last Release

997d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/445f20df33bfca909e1938ca59a34263e6a3d8ce6930168c9e02cb79d8559e1c?d=identicon)[phpmike](/maintainers/phpmike)

---

Top Contributors

[![phpmike](https://avatars.githubusercontent.com/u/2404144?v=4)](https://github.com/phpmike "phpmike (6 commits)")

---

Tags

wordsintegernumberwritingnumber words convertion

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mv-number-words-fr/health.svg)

```
[![Health](https://phpackages.com/badges/mv-number-words-fr/health.svg)](https://phpackages.com/packages/mv-number-words-fr)
```

###  Alternatives

[doctrine/inflector

PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.

11.4k855.8M711](/packages/doctrine-inflector)[brick/math

Arbitrary-precision arithmetic library

2.1k504.0M276](/packages/brick-math)[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)[aza/math

AzaMath - Anizoptera CMF mathematic component. Arbitrary precision arithmetic (for huge integers; BCMath wrapper) and universal convertor between positional numeral systems (supported bases from 2 to 62 inclusive, and systems with custom alphabet; pure PHP realisation, can use GMP and core PHP functions for speed optimization).

1921.9k1](/packages/aza-math)[thunderer/numbase

Convert any number between arbitrary bases

242.3k](/packages/thunderer-numbase)

PHPackages © 2026

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