2017 © Pedro Peláez
 

library client-php

ORM client library for php.

image

open-resource-manager/client-php

ORM client library for php.

  • Sunday, June 24, 2018
  • by MelonSmasher
  • Repository
  • 1 Watchers
  • 2 Stars
  • 125 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 18 Versions
  • 9 % Grown

The README.md

ORM Client - PHP

License GitHub issues, (*1)

Install

Install with composer., (*2)

composer require open-resource-manager/client-php ~1.0

Usage

Docs:

The API documentation is available here., (*3)

Example:

<?php

use Exception;
use OpenResourceManager\ORM;
use OpenResourceManager\Client\Account as AccountClient;

class SomeClass
{
    function someFunction () {

        // API environment variables
        $apiSecret = '123456789';
        $apiHost = 'localhost';
        $apiPort = 80;
        $apiVersion = 1;
        $useHttps = false;

        // Build the ORM connection
        $orm = new ORM($apiSecret, $apiHost, $apiVersion, $apiPort, $useHttps);

        // Build an account client
        $accountClient = new AccountClient($orm);

        // Get an ORM Account
        $response = $accountClient->getFromUsername('skywal');

        // Verify that the API returned a 200 http code
        if ($response->code == 200) {
            // Get the account from the response body
            $account = $response->body->data;
        } else {
            // Throw an exception if we did not get 200 back
            // display the http code with the message from the API.
            throw new Exception($response->body->message, $response->code);
        }
    }
}

The Versions

24/06 2018

dev-master

9999999-dev

ORM client library for php.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alex Markessinis

orm client open resource manager

24/06 2018

v1.1.6

1.1.6.0

ORM client library for php.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alex Markessinis

orm client open resource manager

10/01 2018

v1.1.5

1.1.5.0

ORM client library for php.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alex Markessinis

orm client open resource manager

09/01 2018

v1.1.4

1.1.4.0

ORM client library for php.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alex Markessinis

orm client open resource manager

27/11 2017

v1.1.3

1.1.3.0

ORM client library for php.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alex Markessinis

orm client open resource manager

26/11 2017

v1.1.2

1.1.2.0

ORM client library for php.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alex Markessinis

orm client open resource manager

20/11 2017

v1.1.1

1.1.1.0

ORM client library for php.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alex Markessinis

orm client open resource manager

19/11 2017

v1.1.0

1.1.0.0

ORM client library for php.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alex Markessinis

orm client open resource manager

18/11 2017

v1.0.3

1.0.3.0

ORM client library for php.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alex Markessinis

orm client open resource manager

17/11 2017

v1.0.2

1.0.2.0

ORM client library for php.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alex Markessinis

orm client open resource manager

17/11 2017

v1.0.1

1.0.1.0

ORM client library for php.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alex Markessinis

orm client open resource manager

14/11 2017

v1.0.0

1.0.0.0

ORM client library for php.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alex Markessinis

orm client open resource manager

12/09 2017

v0.1.5-alpha

0.1.5.0-alpha

ORM client library for php.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alex Markessinis

orm client open resource manager

12/09 2017

v0.1.4-alpha

0.1.4.0-alpha

ORM client library for php.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alex Markessinis

orm client open resource manager

16/08 2017

v0.1.3-alpha

0.1.3.0-alpha

ORM client library for php.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alex Markessinis

orm client open resource manager

15/06 2017

v0.1.2-alpha

0.1.2.0-alpha

ORM client library for php.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alex Markessinis

orm client open resource manager

12/06 2017

v0.1.1-alpha

0.1.1.0-alpha

ORM client library for php.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alex Markessinis

orm client open resource manager

29/04 2017

v0.1.0-alpha

0.1.0.0-alpha

ORM client library for php.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alex Markessinis

orm client open resource manager