PHPackages                             thomasjbradley/micromodel - 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. thomasjbradley/micromodel

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

thomasjbradley/micromodel
=========================

MicroModel: a really basic ORM-like form and table mapper, for working with Silex, Symfony Forms, and Doctrine DBAL; supports single tables without relationships.

v1.1.3(13y ago)6342BSD-3-ClausePHP

Since Jul 27Pushed 13y ago1 watchersCompare

[ Source](https://github.com/thomasjbradley/micromodel)[ Packagist](https://packagist.org/packages/thomasjbradley/micromodel)[ Docs](http://github.com/thomasjbradley/micromodel)[ RSS](/packages/thomasjbradley-micromodel/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (7)Used By (0)

MicroModel
==========

[](#micromodel)

A really basic ORM-like form and table mapper, for working with Silex, Symfony Forms, and Doctrine DBAL; supports single tables without relationships.

---

Example table
-------------

[](#example-table)

Here’s a table we’ll use for the rest of the code samples.

```
`planets`

| id       | name    | orbital_period | last_updated |
| (PK, AI) | (text)  | (number)       | (text)       |
------------------------------------------------------
| 1        | Mercury | 87.97          | 1982-10-28   |
| 2        | Venus   | 224.70         | 1980-05-21   |
| 3        | Earth   | 365.25         | 1981-06-04   |

```

How to use
----------

[](#how-to-use)

1. Install with Composer.

    ```
    {
    	"require": {
    		"thomasjbradley/micromodel": "
