PHPackages                             sunstrike/converter - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. sunstrike/converter

ActiveLibrary

sunstrike/converter
===================

v0.3.0(1y ago)15MITPHP

Since Sep 8Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Kouroshmoshrefi/converter)[ Packagist](https://packagist.org/packages/sunstrike/converter)[ RSS](/packages/sunstrike-converter/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Unit convertor
==============

[](#unit-convertor)

Overview
--------

[](#overview)

This is a library for converting any unit to another. All the units and their precission are costomizable just by updating units database. current version supports conversion for:

- Weight
- Length

Insallation
-----------

[](#insallation)

You can install this package by running following composer command:

```
composer require sunstrike/converter
```

Examples
--------

[](#examples)

Weight conversion:

```
