2017 © Pedro Peláez
 

library jsend

JSend for laravel

image

thunderid/jsend

JSend for laravel

  • Thursday, July 23, 2015
  • by erickmo
  • Repository
  • 1 Watchers
  • 0 Stars
  • 23 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 10 % Grown

The README.md

Overview

This package is to help creating Json API Response. It follows the JSend standards (if you are not familiar with jsend, please refer to http://labs.omniti.com/labs/jsend), (*1)

Installation

Add this code to composer.json:, (*2)

    "thunderid/jsend": "dev-master"

and run, (*3)

    composer update

Usage

    $jsend = new \ThunderID\jsend\jsend($status = "success|error|fail", $array);
    echo $jsend->toJson();

The Versions

23/07 2015

dev-master

9999999-dev

JSend for laravel

  Sources   Download

MIT

The Requires

  • php >5.3.0

 

by Avatar erickmo