prinsfrank / measurement-unit
A collection of measurement units for easy conversion
Fund package maintenance!
PrinsFrank
Installs: 7 988
Dependents: 0
Suggesters: 0
Security: 0
Stars: 10
Watchers: 3
Forks: 1
Open Issues: 0
Requires
- php: ^8.1 || ^8.2 || ^8.3
- prinsfrank/arithmetic-operations: ^0.1.0
- prinsfrank/arithmetic-operations-floating-point: ^0.1.2
- prinsfrank/arithmetic-operations-implementation: ^0.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.12
- phpstan/phpstan: ^1.9
- phpstan/phpstan-phpunit: ^1.2
- phpunit/phpunit: ^9.5
README
Measurement-unit
Setup
Note Make sure you are running PHP 8.1 or higher to use this package
To use this package in your project, run the following command:
composer require prinsfrank/measurement-unit
Provided units
All the units of a type can be converted to each other with corresponding methods.