Download the PHP package org_heigl/converter without Composer

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

========= Converter

Converter is a PHP library that allows easy conversion between different metrics of a kind.

Conversion between meter and millimeter might be easy and can be implemented over and over again, but what about the conversion from millimeter to nautical miles? Or what about converting latitude/longitude to UTM? Or what about converting degree Farenheit to Kelvin?

The answer is easy: Use this Converter

Requirements

Installation

Usage

Have a look at this example-code to convert from Nautical Miles to yards.

::

$miles = 12; $from = new \Converter\Length\NauticalMiles(); $to = new \Converter\Length\Yard(); $miles2Yard = \Converter\Converter::factory($from, $to);

echo $miles2Yard->convert($miles); // 24304.461942257

So a once defined Converter-Object can be reused as often as you like.

How does it work

Clearly by magic. everything else would not be sophisticated enough.....

For those of you that do not believe in magic, the explanation is quite simple. Converter uses an internal measure to and from which everything is converted.

So in the previous example the Converter calls Length\NauticalMiles to convert the input to the internal measure and hands that over to Length\BritishYard to convert the internal measure to british yards.

Normaly the internal measure is one of the international standard measurements so for lengths the internal measure is meter.

For an overview have a look at the following list:

:Length: meter :Area: squaremeter :Volume: cubicmeter :Geographical: Latitude/Longitude/Height above NN :Temperature: Kelvin :Color: CIELAB


All versions of converter with dependencies

PHP Build Version
Package Version
No informations.
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 org_heigl/converter contains the following files

Loading the files please wait ....