Skip to content

A set of restful API classes that offer strict RESTful methods for laravel

License

Notifications You must be signed in to change notification settings

floor9design-ltd/laravel-restful-api

Repository files navigation

laravel-restful-api

Latest Version Packagist Software License

Build Status Build Status

Github Downloads Packagist Downloads

A set of restful API classes that offer strict RESTful methods for laravel. Currently in development.

Introduction

Laravel's out the box RESTful implementation is fairly easy to use, but it is not a strict REST api. This repository offers classes to deliver a true REST implementation that matches the wikipedia definition.

Features

  • Simple setup/configuration
  • Simple "plug-in" traits and interfaces that quickly add a full set of RESTful responses to a controller
  • JSON API compliant responses
  • Not implemented/not allowed/data responses available on a per method/route basis
  • Easily overrideable by your own code on a per method/route basis
  • Suports laravel validation

Install

Via Composer

composer require floor9design/laravel-restful-api

Usage

It is recommended you read the background information section:

This is defined in detail in the usage section:

Setup

This is defined in detail in the setup section:

Testing

Tests under development and are underway.

To run the existing tests:

  • ./vendor/phpunit/phpunit/phpunit

Documentation and coverage can be generated as follows:

  • ./vendor/phpunit/phpunit/phpunit --coverage-html docs/tests/

Credits

Changelog

A changelog is generated here:

License

This software is available under the MIT licence.

About

A set of restful API classes that offer strict RESTful methods for laravel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages