Thanks to visit codestin.com
Credit goes to github.com

Skip to content

sc0Vu/msgpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

msgpack

Build Status codecov Dependency Status License

The lumen api response wrapper for rybakit/msgpack.

Install

composer require guancheng/msgpack

or

clone / download this repo

Usage

Response

use Illuminate\Routing\Controller;
use LGC\Msgpack\MsgpackResponse;

class TestController extends Controller
{
    public function test()
    {
        return new MsgpackResponse([
            'success' => true
        ]);
    }
}

Test

use LGC\Msgpack\MsgpackConcern;

class TestApiTest extends PHPUnit_Framework_TestCase
{
    use MsgpackConcern;

    public function testShouldSeeMsgpack()
    {
    	$this->shouldSeeMsgpack();
    }
}

Development

clone the repo

composer install

Licence

MIT

About

The lumen api response wrapper for rybakit/msgpack.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages