huntie / laravel-simple-jsonapi by huntie

JSON API support for Laravel
369
4
1
Package Data
Maintainer Username: huntie
Maintainer Contact: hello@alexhunt.io (Alex Hunt)
Package Create Date: 2016-04-17
Package Last Update: 2018-08-29
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2022-05-24 03:03:11
Package Statistics
Total Downloads: 369
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 4
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

laravel-simple-jsonapi

Build status Code quality Packagist License

An implementation of the JSON API specification for Laravel, allowing developers to add fully-functional JSON API endpoints to their project with minimal configuration.

This is the 1.0.0-alpha branch – the upcoming major release and documentation are currently in progress.

Features

  • Simple API route resource definitions
  • A base controller providing full JSON API resource endpoints
  • Effortless transformation of Eloquent models and relationships to JSON API documents
  • Formatting of error and request validation responses
  • Configurable options for includable relationships, pagination and more
  • Test assertion helpers

Installation

$ composer require huntie/laravel-simple-jsonapi

See further installation and configuration details in the wiki.

Documentation

All usage information can be found in the wiki.

Contributing

If you discover a problem or have a feature request, please create an issue or feel free to fork this repository and make improvements.