Download the PHP package sirmekus/otu without Composer

On this page you can find all versions of the php package sirmekus/otu. 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 otu

Igwe

Otu is a PHP-based package that handles fine-formatting of string representation of (very) large numbers with their 'magnitude'. For instance, "50m" means 50000000. We can decide to write the entire 50000000 or just pass it to this package in the form of "50m" and have it take care of the presentation. It also works vice-versa. Walk with me.

As typical of my packages, each usage introduces you to a new word in Igbo language. You can be sure that "otu" is an Igbo word, and it means "one" which is actually a number anyway. You only need this "one" package, and without any dependencies, to improve productivity...#winks.

Installation

To get started all you need to do is:

That's all.

Please note that as at this time, we only support the following 'magnitudes' (it is case-insensitive): k: Thousand, m: Million, b: Billion, t: trillion

Supported "magnitude"/symbol Magnitude Example Figure
k Thousand "50k" 50000
m Million "40m" 40000000
b Billion "50b" 50000000000
t Trillion "1t" 1000000000000

Usage


Convert a string representation to a number

Example:

If you would like to present it in a more friendly human-readable format

Abbreviate/represent a large number with its 'magnitude'

Example:

Meanwhile

You can connect with me on LinkedIn for insightful tips, and so we can grow our networks together.

Check our educational platform for High Schools: i-runs.

And follow me on Twitter.

We can also catch fun on Tiktok.

Join forces with me on Instagram

I encourage contribution even if it's in the documentation. Thank you, and I really hope you find this package helpful.


All versions of otu with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0.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 sirmekus/otu contains the following files

Loading the files please wait ....