11# JBZoo / SimpleTypes
22
3- The universal PHP library to convert any values and measures
4-
53[ ![ Build Status] ( https://travis-ci.org/JBZoo/SimpleTypes.svg?branch=master )] ( https://travis-ci.org/JBZoo/SimpleTypes ) [ ![ Coverage Status] ( https://coveralls.io/repos/JBZoo/SimpleTypes/badge.svg )] ( https://coveralls.io/github/JBZoo/SimpleTypes?branch=master ) [ ![ Psalm Coverage] ( https://shepherd.dev/github/JBZoo/SimpleTypes/coverage.svg )] ( https://shepherd.dev/github/JBZoo/SimpleTypes )
64[ ![ Latest Stable Version] ( https://poser.pugx.org/JBZoo/SimpleTypes/v )] ( https://packagist.org/packages/JBZoo/SimpleTypes ) [ ![ Latest Unstable Version] ( https://poser.pugx.org/JBZoo/SimpleTypes/v/unstable )] ( https://packagist.org/packages/JBZoo/SimpleTypes ) [ ![ Dependents] ( https://poser.pugx.org/JBZoo/SimpleTypes/dependents )] ( https://packagist.org/packages/JBZoo/SimpleTypes/dependents?order_by=downloads ) [ ![ GitHub Issues] ( https://img.shields.io/github/issues/JBZoo/SimpleTypes )] ( https://github.com/JBZoo/SimpleTypes/issues ) [ ![ Total Downloads] ( https://poser.pugx.org/JBZoo/SimpleTypes/downloads )] ( https://packagist.org/packages/JBZoo/SimpleTypes/stats ) [ ![ GitHub License] ( https://img.shields.io/github/license/JBZoo/SimpleTypes )] ( https://github.com/JBZoo/SimpleTypes/blob/master/LICENSE )
75
6+ The universal PHP library to convert any values and measures - money, weight, currency coverter, length and what ever you want ;)
7+
88
99## Installation
1010```
@@ -14,9 +14,6 @@ composer require jbzoo/simpletypes
1414## Examples
1515
1616``` php
17- require_once './vendor/autoload.php'; // composer autoload.php
18-
19- // Get needed classes
2017use JBZoo\SimpleTypes\Config;
2118use JBZoo\SimpleTypes\Money;
2219use JBZoo\SimpleTypes\ConfigMoney;
@@ -32,6 +29,7 @@ $money = new Money('100500 usd', new ConfigMoney()); // my custom params only f
3229```
3330
3431## A lot of types are ready to use
32+
3533SimpleTypes has such ready configurations like
3634 * [ Area] ( https://github.com/JBZoo/SimpleTypes/blob/master/src/config/area.php )
3735 * [ Degree] ( https://github.com/JBZoo/SimpleTypes/blob/master/src/config/degree.php ) (geometry)
@@ -45,6 +43,7 @@ SimpleTypes has such ready configurations like
4543You can add your own type. It's really easy. See this page below.
4644
4745### Smart and useful parser
46+
4847SimpleTypes has really smart parser for all input values.
4948It can find number, understand any decimal symbols, trim, letter cases, e.t.c...
5049and it works really fast!
0 commit comments