php-extended / php-api-endpoint-http-json-object
This package is abandoned and no longer maintained.
The author suggests using the php-extended/php-reifier-object package instead.
A library that implements the php-extended/php-api-endpoint-http-json-interface library
6.0.7
2023-08-13 15:55 UTC
Requires
Requires (Dev)
- dev-master
- 6.0.7
- 6.0.6
- 6.0.5
- 6.0.4
- 6.0.3
- 6.0.2
- 6.0.1
- 6.0.0
- 5.0.1
- 5.0.0
- 4.0.1
- 4.0.0
- 3.5.6
- 3.5.5
- 3.5.4
- 3.5.3
- 3.5.2
- 3.5.1
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.2
- 3.2.1
- 3.2.0
- 3.1.7
- 3.1.6
- 3.1.5
- 3.1.4
- 3.1.3
- 3.1.2
- 3.1.1
- 3.1.0
- 3.0.17
- 3.0.16
- 3.0.15
- 3.0.14
- 3.0.13
- 3.0.12
- 3.0.11
- 3.0.10
- 3.0.9
- 3.0.8
- 3.0.7
- 3.0.6
- 3.0.5
- 3.0.4
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
This package is auto-updated.
Last update: 2023-08-18 08:00:16 UTC
README
A library that implements the php-extended/php-api-endpoint-http-json-interface library.
Installation
The installation of this library is made via composer and the autoloading of all classes of this library is made through their autoloader.
- Download
composer.phar
from their website. - Then run the following command to install this library as dependency :
php composer.phar php-extended/php-api-endpoint-http-json-object ^6
Basic Usage
This library is made to be extended. The HttpEndpoint implementation is a generic object that is made to ease the transform into a really useful endpoint that may be something like :
use PhpExtended\Endpoint\HttpJsonEndpoint;
class MyEndpoint extends HttpJsonEndpoint
{
public function getFoo() : Foo
{
return $this->jsonObjectGet(Foo::class, 'https://example.com');
}
}
License
MIT (See license file).