An open API service indexing awesome lists of open source software.

https://github.com/noglitchyo/json-api-builder

Build a JSON:API from your entities.
https://github.com/noglitchyo/json-api-builder

api entities json json-api jsonapi serializer

Last synced: 5 months ago
JSON representation

Build a JSON:API from your entities.

Awesome Lists containing this project

README

          

# json-api-builder
> Build a JSON:API from your entities.

![PHP from Packagist](https://img.shields.io/packagist/php-v/noglitchyo/json-api-builder.svg)
[![Build Status](https://travis-ci.org/noglitchyo/json-api-builder.svg?branch=master)](https://travis-ci.org/noglitchyo/json-api-builder)
[![codecov](https://codecov.io/gh/noglitchyo/json-api-builder/branch/master/graph/badge.svg)](https://codecov.io/gh/noglitchyo/json-api-builder)
![Scrutinizer code quality (GitHub/Bitbucket)](https://img.shields.io/scrutinizer/quality/g/noglitchyo/json-api-builder.svg)
![Packagist](https://img.shields.io/packagist/l/noglitchyo/json-api-builder.svg)

### Description

**json-api-builder** is a simple library to generate easily a JSON:API from your entities.
Implement the ResourceObject interface on your entities, provide your API URI. You're all set!

### Getting started

#### Requirements

- PHP >= 7.3

#### Installation

`composer require noglitchyo/json-api-builder`

#### Run

#### Tests

Would like to the run the test suite? Go ahead:

`composer test`

### References

https://www.php-fig.org/psr/psr-15/

## License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.