PHPackages                             soluble/schema - 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/schema

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

soluble/schema
==============

Database information schema

0.11.2(8y ago)4203[2 issues](https://github.com/belgattitude/soluble-schema/issues)MITPHPPHP ^5.4.4 || ^7.0

Since Dec 28Pushed 8y ago2 watchersCompare

[ Source](https://github.com/belgattitude/soluble-schema)[ Packagist](https://packagist.org/packages/soluble/schema)[ Docs](https://github.com/belgattitude/soluble-schema)[ RSS](/packages/soluble-schema/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (4)Versions (21)Used By (0)

Soluble\\Schema
===============

[](#solubleschema)

[![PHP Version](https://camo.githubusercontent.com/fc7971007087f4149e530d0b858341f06552ae4ee39d71f39e78f7372c9a7bf4/687474703a2f2f696d672e736869656c64732e696f2f62616467652f7068702d352e342b2d6666363962342e737667)](https://packagist.org/packages/soluble/schema)[![Build Status](https://camo.githubusercontent.com/bbc4adf7e4968ce347b2d1ace0285822c559829a9b8432ebf262743ca1dda900/68747470733a2f2f7472617669732d63692e6f72672f62656c6761747469747564652f736f6c75626c652d736368656d612e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/belgattitude/soluble-schema)[![codecov](https://camo.githubusercontent.com/fc70e84812e428c4395748ea5c9a9063fe40367af2791fd3c4cc307eafa3b5ee/68747470733a2f2f636f6465636f762e696f2f67682f62656c6761747469747564652f736f6c75626c652d736368656d612f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/belgattitude/soluble-schema)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/aff508c6d932fdd2ebd473237f671a555a97c9b0917940ece9aa8691d61062ae/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62656c6761747469747564652f736f6c75626c652d736368656d612f6261646765732f7175616c6974792d73636f72652e706e673f733d36663361623931663931366266363432663234386538326332393835376639346362353062623333)](https://scrutinizer-ci.com/g/belgattitude/soluble-schema/)[![Latest Stable Version](https://camo.githubusercontent.com/ee9150182d0f808e9ab5eeb2bce10ce01bab4e64ade924f044b9dfad76f1b08a/68747470733a2f2f706f7365722e707567782e6f72672f736f6c75626c652f736368656d612f762f737461626c652e737667)](https://packagist.org/packages/soluble/schema)[![Total Downloads](https://camo.githubusercontent.com/3bf487879f66e55e3739d8add085fec1de1803d9f4b455c86de07ec6eff94f9e/68747470733a2f2f706f7365722e707567782e6f72672f736f6c75626c652f736368656d612f646f776e6c6f6164732e706e67)](https://packagist.org/packages/soluble/schema)[![License](https://camo.githubusercontent.com/68112c4f60060a1cc461668d4675df9019f5501a23d76f60e7c1d43576dec9c2/68747470733a2f2f706f7365722e707567782e6f72672f736f6c75626c652f736368656d612f6c6963656e73652e706e67)](https://packagist.org/packages/soluble/schema)

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

[](#introduction)

Query your database schema to know everything about your tables, columns, types, foreign keys...

Features
--------

[](#features)

- Inspect, query and discover your database structure.
- Rely on information schema tables for deep and accurate info.
- Support database extended informations (native types, relations...)
- Fast and reliable implementation (at least as fast as possible).

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

[](#requirements)

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

Supported databases
-------------------

[](#supported-databases)

Currently only MySQL and MariaDB are supported.

DatabaseDriverSource classMySQL 5.1+pdo\_mysql, mysqli`Soluble\Schema\Source\MysqlInformationSchema`Mariadb 5.5+pdo\_mysql, mysqli`Soluble\Schema\Source\MysqlInformationSchema`You can create new schema sources (oracle, postgresql...) by implementing the `Soluble\Schema\Source\SchemaSourceInterface`.

Please see the [contribution guide](./CONTRIBUTING.md) and send a pull request.

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

[](#documentation)

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

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

[](#installation)

Instant installation via [composer](http://getcomposer.org/).

```
$ composer require soluble/schema:0.*
```

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

```
