2017 © Pedro Peláez
 

library slim-json

A module for slim, JSON middleware for encoding based on Content-Type

image

slimphp-api/slim-json

A module for slim, JSON middleware for encoding based on Content-Type

  • Saturday, November 21, 2015
  • by gabriel403
  • Repository
  • 1 Watchers
  • 4 Stars
  • 51 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 4 % Grown

The README.md

slim-json

Coverage Status Code Climate Build Status, (*1)

JSON middleware that enforces a json response wherever possible. Based on Accept header, (*2)

installation

composer require slimphp-api/slim-json, (*3)

usage

Add middleware in the usual way. For slim:, (*4)

use Slim\App;
$app = new App();
$app->add(new SlimApi\Json\Json);
$app->run();

The Versions

21/11 2015

dev-master

9999999-dev

A module for slim, JSON middleware for encoding based on Content-Type

  Sources   Download

MIT

The Requires

 

The Development Requires

json slim