PHPackages                             ccmbenchmark/ting - 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. ccmbenchmark/ting

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

ccmbenchmark/ting
=================

Ting : a lightweight datamapper

3.12.1(5mo ago)2124.6k↓17.2%8[11 issues](https://github.com/ccmbenchmark/ting/issues)[5 PRs](https://github.com/ccmbenchmark/ting/pulls)1Apache-2.0PHPPHP &gt;=8.0CI passing

Since Oct 21Pushed 2mo ago6 watchersCompare

[ Source](https://github.com/ccmbenchmark/ting)[ Packagist](https://packagist.org/packages/ccmbenchmark/ting)[ Docs](http://tech.ccmbg.com/ting/)[ RSS](/packages/ccmbenchmark-ting/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (9)Versions (117)Used By (1)

Ting - PHP Datamapper
=====================

[](#ting---php-datamapper)

Ting is a simple DataMapper implementation for PHP. It runs with MySQL and PostgreSQL and is under Apache-2.0 licence.

It has some distinctive features and design choices :

- Pure PHP implementation (no PDO, no XML)
- No abstraction layer : you speak the language of your RDBMS
- Fast, low memory consumption
- Simple to use, simple to extend

You can read this few examples, or go to the [Documentation](http://tech.ccmbg.com/ting/doc/)or see more [samples](https://bitbucket.org/ccmbenchmark/ting/src/).

Retrieve object by ID
---------------------

[](#retrieve-object-by-id)

```
