PHPackages                             markmercedes/trest - 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. markmercedes/trest

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

markmercedes/trest
==================

TRest is an ORM that maps REST resources to PHP objects. Designed to use in applications that need to consume data from a RESTful API.

v2.1.2(10y ago)71.8k3MITPHP

Since Jul 20Pushed 10y ago1 watchersCompare

[ Source](https://github.com/markmercedes/trest)[ Packagist](https://packagist.org/packages/markmercedes/trest)[ RSS](/packages/markmercedes-trest/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)DependenciesVersions (6)Used By (0)

TRest
=====

[](#trest)

TRest is an ORM that maps REST resources to PHP objects. Designed to use in applications that need to consume data from a RESTful API.

Usage
-----

[](#usage)

There is a sample file name trest\_init.php which contains a default configuration which might help you understrand how you can initialize the library before start using it.

```
