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. mamyraoby/phanisana

ActiveLibrary

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 1mo ago

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 64% of packages

Maintenance48

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

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

382d ago

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

1.0.2PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/4e9178a176c5ff0cb944bd65e7956632f1349a0b2e9f9bd96e8e1d9be77f4660?d=identicon)[mamyraoby](/maintainers/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)
```

PHPackages © 2026

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