PHPackages                             torann/remote-model - 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. torann/remote-model

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

torann/remote-model
===================

An eloquent-like model, for the Laravel framework.

0.2.1(9y ago)4814.4k7[1 PRs](https://github.com/Torann/remote-model/pulls)BSD 2-ClausePHPPHP &gt;=5.5.9

Since Sep 14Pushed 8y ago3 watchersCompare

[ Source](https://github.com/Torann/remote-model)[ Packagist](https://packagist.org/packages/torann/remote-model)[ RSS](/packages/torann-remote-model/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (2)Dependencies (6)Versions (22)Used By (0)

Laravel Remote Model
====================

[](#laravel-remote-model)

This model provides an eloquent-like base class that can be used to build custom models for remote APIs.

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

[](#installation)

Install using composer:

```
$ composer require torann/remote-model

```

Clients
-------

[](#clients)

### Custom request method

[](#custom-request-method)

To implement a custom API request method in the model, simple extend the `Torann\RemoteModel\Model` class and use that extended model in the app models.

**Example**

```
