Download the PHP package pronamic/wp-number without Composer

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

Pronamic WordPress Number

WordPress Number library.

[![Latest Stable Version](http://poser.pugx.org/pronamic/wp-number/v)](https://packagist.org/packages/pronamic/wp-number) [![Total Downloads](http://poser.pugx.org/pronamic/wp-number/downloads)](https://packagist.org/packages/pronamic/wp-number) [![Latest Unstable Version](http://poser.pugx.org/pronamic/wp-number/v/unstable)](https://packagist.org/packages/pronamic/wp-number) [![License](http://poser.pugx.org/pronamic/wp-number/license)](https://packagist.org/packages/pronamic/wp-number) [![codecov](https://codecov.io/gh/pronamic/wp-number/branch/main/graph/badge.svg?token=NB3B1FS1CP)](https://codecov.io/gh/pronamic/wp-number) [![Coverage Status](https://coveralls.io/repos/github/pronamic/wp-number/badge.svg?branch=main)](https://coveralls.io/github/pronamic/wp-number?branch=main) ## Table of contents - [Getting Started](#getting-started) - [Usage](#usage) - [Design Principles](#design-principles) ## Getting Started ### Installation ## Usage ## Design Principles ### A number is a number > In general, a number is a number, not a string, and this means that any programming language treats a number as a number. Thus, the number by itself doesn't imply any specific format (like using .000021 instead of 2.1e-5). This is nothing different to displaying a number with leading zeros (like 0.000021) or aligning lists of numbers. This is a general issue you'll find in any programming language: if you want a specific format you need to specify it, using the format functions of your programming language. > > Unless you specify the number as string and convert it to a real number when needed, of course. Some languages can do this implicitly. https://stackoverflow.com/a/1471792 ### Number in exponential form / scientific notation > 2.1E-5 is the same number as 0.000021. That's how it prints numbers below 0.001. Use printf() if you want it in a particular format. > > **Edit** If you're not familiar with the `2.1E-5` syntax, you should know it is shorthand for 2.1×10-5. It is how most programming languages represent numbers in scientific notation. https://stackoverflow.com/a/1471694 ### Leading zeros In https://github.com/moneyphp/money it is not allowed to use leading zeros: > Leading zeros are not allowed _Source:_ https://github.com/moneyphp/money/search?q=leading+zero This probably has somehting to do with the following user note: > Be careful with GMP - it considers leading zeros in a number string as meaning the number is in octal, whereas 'bc' doesn't: > > `gmp_strval("000100", 10) => 64` > > `bcmul("000100", "1") => 100` _Source:_ https://www.php.net/manual/en/book.gmp.php#106521 _Source:_ https://www.php.net/manual/en/language.types.integer.php > A leading zero in a numeric literal means "this is octal". But don't be confused: a leading zero in a string does not. Thus: > `$x = 0123; // 83` > `$y = "0123" + 0 // 123` _Source:_ https://www.php.net/manual/en/language.types.integer.php#111523 ## Links - https://0.30000000000000004.com/ [![Pronamic - Work with us](https://github.com/pronamic/brand-resources/blob/main/banners/pronamic-work-with-us-leaderboard-728x90%404x.png)](https://www.pronamic.eu/contact/)

All versions of wp-number with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
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 pronamic/wp-number contains the following files

Loading the files please wait ....