2017 © Pedro Peláez
 

library jsonapi-client

JSONAPI client, helps creating SDK to consume your JSON API services

image

phramework/jsonapi-client

JSONAPI client, helps creating SDK to consume your JSON API services

  • Tuesday, November 14, 2017
  • by nohponex
  • Repository
  • 4 Watchers
  • 2 Stars
  • 5,342 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 10 Open issues
  • 17 Versions
  • 13 % Grown

The README.md

jsonapi-client

JSONAPI client, helps creating SDK to consume your JSON RESTful APIs, (*1)

Build Status, (*2)

Coverage Status, (*3)

Usage

Require package using composer, (*4)

composer require phramework/jsonapi-client

GET a collection

<?php
/**
 * Define an API endpoint
 */
$endpoint = (new Endpoint('article'))
    ->setUrl('http://localhost:8005/article/');

/**
 * Get a collection of all `article`s, including their author
 */
$response = $endpoint->get(
    new IncludeRelationship('author')
);

/*
 * Display article collection
 */
print_r($articles = $response->getData());

License

Copyright 2016-2019 Xenofon Spafaridis, (*5)

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at, (*6)

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License., (*7)

The Versions

14/11 2017

2.x-dev

2.9999999.9999999.9999999-dev https://phramework.github.io/

JSONAPI client, helps creating SDK to consume your JSON API services

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Alexandros Kalliontzis

21/06 2017
02/01 2017

2.0.0

2.0.0.0 https://phramework.github.io/

JSONAPI client, helps creating SDK to consume your JSON API services

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Alexandros Kalliontzis

31/10 2016

1.x-dev

1.9999999.9999999.9999999-dev https://phramework.github.io/

JSONAPI client, helps creating SDK to consume your JSON API services

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Alexandros Kalliontzis

10/09 2016

0.0.4

0.0.4.0 https://phramework.github.io/

JSONAPI client, helps creating SDK to consume your JSON API services

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Alexandros Kalliontzis

06/04 2016

0.0.3

0.0.3.0 https://phramework.github.io/

JSONAPI client, helps creating SDK to consume your JSON API services

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Alexandros Kalliontzis

05/04 2016

0.0.1-RC

0.0.1.0-RC https://phramework.github.io/

JSONAPI client, helps creating SDK to consume your JSON API services

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Alexandros Kalliontzis

05/04 2016

0.0.2

0.0.2.0 https://phramework.github.io/

JSONAPI client, helps creating SDK to consume your JSON API services

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Alexandros Kalliontzis

31/03 2016

0.0.0-RC

0.0.0.0-RC https://phramework.github.io/

JSONAPI client, helps creating SDK to consume your JSON API services

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Alexandros Kalliontzis