Download the PHP package thunderer/currenz without Composer

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

Currenz

Build Status SensioLabsInsight License Latest Stable Version Total Downloads Scrutinizer Code Quality Code Coverage

Currenz is a small and easy to use utility library providing currency value objects for all currencies defined in ISO4217:2015. You can read more about the standard on Wikipedia.

Installation

This library is available on Packagist as thunderer/currenz. It can be installed using Composer by executing following command in the project directory:

Usage

Every currency has its own dedicated class and implements a common interface. There are multiple ways of creating an instance of given currency class using its three-letter code:

Following methods can be called to extract desired information from currency object:

Binaries

There are two executable scripts included in the code of this library:

Notes

ISO4217 data files

Following ISO4217 data files downloaded from the standard's website are included in data directory in this repository:

Non-decimal currencies

There are currencies called non-decimal, which means that their base units are not powers of 10. Their value is so low that they are usually omitted. Currently there are two of them:

This library strictly follows ISO4217 standard so both of them will appear as currencies with 100 base units (10^2).


All versions of currenz with dependencies

PHP Build Version
Package Version
Requires php Version ^7.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 thunderer/currenz contains the following files

Loading the files please wait ....