Download the PHP package carrontiger/conversion without Composer

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

Conversion

Conversion from/to decimal numerals

Comparison of Converters

Examples

Converter Result of toDecimal() Result of fromDecimal()
BinaryConverter 2147483647 1111111111111111111111111111111
OctalConverter 2147483647 17777777777
HexadecimalConverter 2147483647 7FFFFFFF
CaseInsensitiveAlphaDecimalConverter 2147483647 ZIK0ZJ
CaseSensitiveAlphaDecimalConverter 2147483647 2LKcb1
AsciiDecimalConverter 2147483647 Rll}&

Meta Information

Converter Base “Digits”
BinaryConverter | 2 | 01
OctalConverter | 8 | 01234567
HexadecimalConverter | 16 | 0123456789ABCDEF
CaseInsensitiveAlphaDecimalConverter | 36 | 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
CaseSensitiveAlphaDecimalConverter | 62 | 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
AsciiDecimalConverter | 94 | 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz!"#$%&'()*+,-./:;<=>?@[\]^_`{\|}~

Individual Examples

Binary Numerals

Conversion of decimal numeral to a binary numeral
Conversion of binary numeral to a decimal numeral

Octal Numerals

Conversion of decimal numeral to a octal numeral
Conversion of octal numeral to a decimal numeral

Hexadecimal Numerals

Conversion of decimal numeral to a hexadecimal numeral
Conversion of hexadecimal numeral to a decimal numeral

Case-Insensitive Alpha-Decimal Numerals

The case-insensitive alpha-decimal numeral encoding uses the following 36 “digits”:

0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ

Conversion of decimal numeral to a case-insensitive alpha-decimal numeral
Conversion of a case-insensitive alpha-decimal numeral to a decimal numeral

Case-Sensitive Alpha-Decimal Numerals

The case-sensitive alpha-decimal numeral encoding uses the following 62 “digits”:

0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz

Conversion of decimal numeral to a case-sensitive alpha-decimal numeral
Conversion of a case-sensitive alpha-decimal numeral to a decimal numeral

ASCII-Numerals

The ASCII numeral encoding uses the following 94 “digits”:

0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz!"#$%&'()*+,-./:;<=>?@[\]^_`{\|}~

Due to the use of non-alphabetic characters, it is not practical for ASCII numerals to be embedded in texts or be used as plain HTTP query arguments, for example. One purpose would be to encode large integer numbers, compactly. But most of all, this is an example of an arbitrary numeral system, than one can define.

If you were to define a numeral system (by extending the AbstractDecimalConverter class), be advised, to use only one-byte characters as digits.

Conversion of decimal numeral to an ASCII numeral
Conversion of an ASCII numeral to a decimal numeral

All versions of conversion with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.0|^8.1|^8.2
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 carrontiger/conversion contains the following files

Loading the files please wait ....