2017 © Pedro PelĂĄez
 

library silex-jsonapi

JSONApi.org implementation for Silex framework.

image

mauro-moreno/silex-jsonapi

JSONApi.org implementation for Silex framework.

  • Monday, September 5, 2016
  • by mauro-moreno
  • Repository
  • 1 Watchers
  • 2 Stars
  • 48 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Silex JSON Api

JSONApi.org implementation for Silex framework., (*1)

Based on Nil Portugués Caldero PHP Json Api Package php-json-api., (*2)

Installation

** Step 1: Download Service Provider, (*3)

To install with composer just open a terminal and type:, (*4)

$ composer require mauro-moreno/silex-jsonapi

** Step 2: Enable Service Provider, (*5)

To enable, (*6)

<?php
$app = new Silex\Application;
$app['mappers'] = []; // Array of mapping classes
$app->register(new MauroMoreno\JsonApi\JsonApiServiceProvider);

Controller

The following JsonApiResponseTrait methods are provided to return the right headers and HTTP status codes are available:, (*7)

    private function resourceCreated($json);
    private function resourceDeleted($json);
    private function resourceNotFound($json);
    private function resourceProcessing($json);
    private function resourceUpdatedResponse($json);
    private function response($json);
    private function unsupportedAction($json);

The Versions

05/09 2016

dev-master

9999999-dev

JSONApi.org implementation for Silex framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mauro Moreno

silex jsonapi

05/09 2016

2.0.2

2.0.2.0

JSONApi.org implementation for Silex framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mauro Moreno

silex jsonapi

05/09 2016

dev-development

dev-development

JSONApi.org implementation for Silex framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mauro Moreno

silex jsonapi

09/07 2016

2.0.1

2.0.1.0

JSONApi.org implementation for Silex framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mauro Moreno

silex jsonapi

09/07 2016

2.0.0

2.0.0.0

JSONApi.org implementation for Silex framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mauro Moreno

silex jsonapi

20/01 2016

1.0.0

1.0.0.0

JSONApi.org implementation for Silex framework.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mauro Moreno

silex jsonapi