huntie/laravel-simple-jsonapi

JSON API support for Laravel

Installs: 375

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/huntie/laravel-simple-jsonapi

1.0.0-alpha.7 2017-09-22 08:48 UTC

README

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.