Overview
Num2Text Number to Text Converter PHP Class
Num2Text is a PHP class designed to convert numeric values into written words for websites and PHP applications. It can be integrated with the Num2Text API and provides support for converting numbers into text across 13 languages.
Number to Text Conversion
Convert numeric values into readable written text with accurate place values. The system is designed to handle numbers from the ones digit onward and can also work with currency values.
For example, a numeric value such as a monetary amount can be converted into a complete written representation containing the amount and currency.
13-Language Support
Num2Text supports number-to-text conversion in 13 languages, making the class useful for applications that need multilingual numeric text conversion.
Currency Customization
The class provides functions for defining the currency used when converting numerical values into written text. This can be useful for financial applications, invoices, reports and other systems that display monetary amounts in words.
Arabic Currency Support
The product includes Arabic language currency customization through its dedicated Arabic currency functionality.
Text or Image Output
The converted result can be returned as text or generated as an image. Image output can be useful when the visual appearance of the generated amount needs to remain independent of character encoding.
The vendor also describes image output as useful for financial reports where preventing direct editing or modification of displayed text is important.
Language Selection
The translateNumber() function can be used to define the language for the number-to-text conversion.
Currency Selection
The setCurrency() function allows the application to define the currency used for the conversion.
API Authentication
API requests can be authenticated using the setAPIKey() function.
PHP Application Integration
Num2Text is designed as a reusable PHP class that can be integrated into PHP projects requiring number-to-word conversion functionality.
Who Is This For?
Num2Text may be useful for developers building:
Invoice and billing applications
Financial reporting systems
Payment-related applications
Accounting websites
Multilingual PHP applications
Currency and amount conversion tools
Document-generation systems
Business applications that display amounts in words
If your PHP application needs to convert numerical values into written words across multiple languages and currencies, Num2Text provides a dedicated class and API-based approach for this functionality.
Features
- Convert numbers into written text
- Support for 13 languages
- Accurate number place-value conversion
- Currency customization
- Arabic language currency support
- Arabic currency customization through setArabicCurrency()
- Return converted results as text
- Generate converted results as images
- Language selection with translateNumber()
- Currency selection with setCurrency()
- API authentication with setAPIKey()
- PHP class for application integration
- Support for monetary number-to-text conversion
Requirements
- PHP-compatible development or hosting environment
- PHP application capable of integrating the Num2Text class/API
- API credentials where API authentication is required
- Internet/API access where the external Num2Text API is used
- Review the vendor documentation for exact PHP and server compatibility before purchase
Other items by this author
| Category | Scripts & Code / PHP Scripts / Miscellaneous |
| First release | 26 September 2026 |
| Last update | 26 September 2026 |
| Licence | Regular License |
| Last update | 6 May 2014 |
| Compatible with | PHP |
| Files included | Documentation |
| Tags | php number to text , number to words php , number to words converter php , php number converter , php number to text converter , number to text php class , number to words php class , php currency to words , amount to words php , currency converter php , number spelling php , multilingual number converter , php api number to words , arabic number to words php , number to words script |


