Download the PHP package pinoox/numera without Composer

On this page you can find all versions of the php package pinoox/numera. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package numera

Numera: A PHP Library for Number to Words Conversion

Latest Stable Version GitHub Stars GitHub Forks GitHub Issues License Total Downloads

Numera is a PHP library that provides a simple and efficient way to convert numbers to words and vice versa. It supports multiple languages and can be easily extended to support more languages.

Features

Installation and Setup

Install via Composer

You can install Numera using Composer:

Initialize Numera

To use Numera, you need to initialize it with a locale. You can do this using the init method:

Convert Numbers to Words

To convert a number to words, use the convertToWords method:

Alternatively, you can use the n2w method for a simpler syntax:

Convert Numbers to Summary

To convert a number to summary words, use the convertToSummary method:

Alternatively, you can use the n2w method for a simpler syntax:

Convert Words to Numbers

To convert words to a number, use the convertToNumber method:

Alternatively, you can use the w2n method for a simpler syntax:

You can also specify separators for the w2n method:

Use Camel Case

To use camel case for output words, use the setCamelCase method:

Supported Languages

Numera currently supports the following languages:

Set Locale

To set the locale for the Numera object, use the setLocale method:

Set Locale Fallback

To set the fallback locale for the Numera object, use the setLocaleFallback method:

Get Translates

To get the translates for the current locale, use the getTranslates method:

Add Translate

To add translates for a specific locale, use the addTranslate method:

Add Translate File

To add translates by array file for a specific locale, use the addTranslateFile method:

Create a New Language

If you want to add support for a new language, please read our Translation Guide for a step-by-step guide on how to create a new language pack.

Author

Numera was created by Pinoox.

Contributing

If you'd like to contribute to Numera, please fork the repository and submit a pull request. We'd love to have your help.

Documentation

License

Numera is licensed under the MIT License. See the LICENSE file for more information.


All versions of numera with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package pinoox/numera contains the following files

Loading the files please wait ....