https://github.com/anburocky3/unit-conversions
Simple unit conversion PHP package.
https://github.com/anburocky3/unit-conversions
Last synced: 7 months ago
JSON representation
Simple unit conversion PHP package.
- Host: GitHub
- URL: https://github.com/anburocky3/unit-conversions
- Owner: anburocky3
- License: mit
- Created: 2021-01-17T21:03:49.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-09-23T23:18:06.000Z (about 3 years ago)
- Last Synced: 2025-03-19T12:18:14.622Z (7 months ago)
- Language: PHP
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# Simple unit converter
[](https://packagist.org/packages/anburocky3/unit-conversions)
[](https://github.com/anburocky3/unit-conversions/actions?query=workflow%3ATests+branch%3Amaster)
[](https://packagist.org/packages/anburocky3/unit-conversions)This is very simple php package where you can use to convert the values to your preferred units.
## Installation
You can install the package via composer:
```bash
composer require anburocky3/unit-conversions
```## Usage
```php
$lbs = Weight::fromKilograms(100)->toLbs();
echo $lbs;
```## Testing
```bash
composer test
```## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.
## Security Vulnerabilities
Please review [our security policy](../../security/policy) on how to report security vulnerabilities.
## Credits
- [Anbu](https://github.com/anburocky3)
- [All Contributors](../../contributors)## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.