PHPackages                             soluble/datatype - 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. [Database &amp; ORM](/categories/database)
4. /
5. soluble/datatype

ActiveLibrary[Database &amp; ORM](/categories/database)

soluble/datatype
================

Common data types for data abstraction

0.11.0(9y ago)01.4k1MITPHPPHP ^5.3 || ^7.0

Since Dec 28Pushed 9y ago1 watchersCompare

[ Source](https://github.com/belgattitude/soluble-datatype)[ Packagist](https://packagist.org/packages/soluble/datatype)[ Docs](http://soluble.io)[ RSS](/packages/soluble-datatype/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (7)Used By (1)

Soluble\\Datatype
=================

[](#solubledatatype)

[![PHP Version](https://camo.githubusercontent.com/fc7971007087f4149e530d0b858341f06552ae4ee39d71f39e78f7372c9a7bf4/687474703a2f2f696d672e736869656c64732e696f2f62616467652f7068702d352e342b2d6666363962342e737667)](https://packagist.org/packages/soluble/datatype)[![HHVM Status](https://camo.githubusercontent.com/9b91b58a0d9dcf0bc9007c4e8d5949568265feb69b965bfd1fcbe633b9609280/687474703a2f2f6868766d2e683463632e64652f62616467652f736f6c75626c652f64617461747970652e737667)](http://hhvm.h4cc.de/package/soluble/datatype)[![Build Status](https://camo.githubusercontent.com/0666e4e95a488c78e77f5cf94aded89e885086f4b9c221dd49f39363716d51fe/68747470733a2f2f7472617669732d63692e6f72672f62656c6761747469747564652f736f6c75626c652d64617461747970652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/belgattitude/soluble-datatype)[![Code Coverage](https://camo.githubusercontent.com/38bebe18674457d22d77ed346601a3056faae8d75fc36a46f1ecbe8c222d3c83/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62656c6761747469747564652f736f6c75626c652d64617461747970652f6261646765732f636f7665726167652e706e673f733d61616135353266363331336133613530313435663065383762323532633834363737633232616139)](https://scrutinizer-ci.com/g/belgattitude/soluble-datatype/)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/b331c15ca612a0c43e3b7bc8c2b88559f6de967b56df524b427829eb09371a57/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62656c6761747469747564652f736f6c75626c652d64617461747970652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/belgattitude/soluble-datatype/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/86a07081111030b28daf35497db5fe2a34716914a7dd9a988ea2352572e903bd/68747470733a2f2f706f7365722e707567782e6f72672f736f6c75626c652f64617461747970652f762f737461626c652e737667)](https://packagist.org/packages/soluble/datatype)[![Total Downloads](https://camo.githubusercontent.com/db8b9abc3883897d9f0bbb4d1659a82ba3d5a9fde2bf91863b5b5bcfb7f96427/68747470733a2f2f706f7365722e707567782e6f72672f736f6c75626c652f64617461747970652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/soluble/datatype)[![License](https://camo.githubusercontent.com/d589e1d5c118fe98af35f3655edde483422b767356c5a55b440174bed7e6317d/68747470733a2f2f706f7365722e707567782e6f72672f736f6c75626c652f64617461747970652f6c6963656e73652e706e67)](https://packagist.org/packages/soluble/datatype)

Introduction
------------

[](#introduction)

Common datatype abstractions

Requirements
------------

[](#requirements)

- PHP engine 5.4+, 7.0 or HHVM &gt;= 3.2.

Documentation
-------------

[](#documentation)

- [Manual](http://docs.soluble.io/soluble-datatype/manual/) in progress and [API documentation](http://docs.soluble.io/soluble-datatype/api/) available.

Installation
------------

[](#installation)

### Installation in your PHP project

[](#installation-in-your-php-project)

`Soluble\Datatype` works best via [composer](http://getcomposer.org/).

```
php composer require soluble/datatype:0.*
```

Most modern frameworks will include Composer out of the box, but ensure the following file is included:

```
