PHPackages                             mamyraoby/phanisana - 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. [Localization &amp; i18n](/categories/localization)
4. /
5. mamyraoby/phanisana

ActiveLibrary[Localization &amp; i18n](/categories/localization)

mamyraoby/phanisana
===================

Phanisana is a powerful PHP library that transforms numbers, dates, and times into their full-text equivalents in the Malagasy 🇲🇬 language.

1.0.4(1y ago)13201GPL-3.0-onlyPHPPHP &gt;=7.4CI passing

Since Apr 13Pushed 1y ago1 watchersCompare

[ Source](https://github.com/mamyraoby/phanisana)[ Packagist](https://packagist.org/packages/mamyraoby/phanisana)[ RSS](/packages/mamyraoby-phanisana/feed)WikiDiscussions main Synced today

READMEChangelog (4)Dependencies (2)Versions (7)Used By (0)

Phanisana
=========

[](#phanisana)

**Phanisana** is a powerful PHP library that transforms numbers, dates, and times into their full-text equivalents in the Malagasy 🇲🇬 language. Whether you're localizing applications, building educational tools, or creating systems with Malagasy users in mind, Phanisana offers a reliable and intuitive solution.

The name **Phanisana** is a blend of **PHP** and the Malagasy word **fanisana**, meaning *"counting"* or *"calculation"*—perfectly reflecting the library’s purpose and roots.

---

📚 Documentation
---------------

[](#-documentation)

Full documentation is available at 👉 [phanisana.readthedocs.io](https://phanisana.readthedocs.io/)

---

📦 Installation
--------------

[](#-installation)

Install the package via [Composer](https://getcomposer.org/):

```
composer require mamyraoby/phanisana
```

---

🚀 Quick Start
-------------

[](#-quick-start)

First, make sure Composer’s autoloader is included (optional if already loaded by your framework):

```
// Include Composer's autoloader if it hasn't been loaded elsewhere
require 'vendor/autoload.php';

use MamyRaoby\Phanisana\Converter\NumberConverter;

$converter = new NumberConverter();

echo $converter->toWords(7);            // fito
echo $converter->toWords(69);           // sivy amby enimpolo
echo $converter->toWords(2025);         // dimy amby roapolo sy roa arivo
```

Or use the global helper function for shorter syntax:

```
echo phanisana_convert_number(7);       // fito
echo phanisana_convert_number(2025);    // dimy amby roapolo sy roa arivo
```

More usage examples and details are available in the [Usage Guide](https://phanisana.readthedocs.io/en/latest/usage.html).

---

✅ Features
----------

[](#-features)

- Converts integers into accurate Malagasy number words.
- Supports numbers from `0` up to `PHP_INT_MAX` (usually 9,223,372,036,854,775,807 on 64-bit systems).
- Handles large numeric scales such as:
    - Millions (*tapitrisa*)
    - Billions (*lavitrisa*)
    - Trillions (*arivo lavitrisa*) and beyond
- Clean, extensible library
- Lightweight and framework-agnostic

---

🛠️ Contributing
---------------

[](#️-contributing)

Contributions are very welcome! Feel free to fork the repo, open issues, or submit pull requests. Bug reports, improvements, and suggestions are encouraged and appreciated.

---

📄 License
---------

[](#-license)

This project is open-source and licensed under the [GNU GPL 3.0 License](https://www.gnu.org/licenses/gpl-3.0.html).

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance45

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.4% 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 ~4 days

Total

5

Last Release

429d ago

PHP version history (2 changes)1.0.0PHP ^7.4 || ^8.0

1.0.2PHP &gt;=7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/81308480?v=4)[Mamy Raobelina](/maintainers/mamyraoby)[@mamyraoby](https://github.com/mamyraoby)

---

Top Contributors

[![mamyraoby](https://avatars.githubusercontent.com/u/81308480?v=4)](https://github.com/mamyraoby "mamyraoby (32 commits)")[![HeriCraft](https://avatars.githubusercontent.com/u/46588140?v=4)](https://github.com/HeriCraft "HeriCraft (3 commits)")

---

Tags

conversionconversion-utilitylettersnumber

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/mamyraoby-phanisana/health.svg)

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

###  Alternatives

[smmoosavi/php-gettext

Wrapper for php-gettext by danilo segan. This library provides PHP functions to read MO files even when gettext is not compiled in or when appropriate locale is not present on the system.

1927.0k1](/packages/smmoosavi-php-gettext)[saeven/circlical-po-editor

Gettext \*.PO file editor and parser for PHP.

118.1k1](/packages/saeven-circlical-po-editor)

PHPackages © 2026

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