superman2014/json-api

Given neomerx/json-api package, add some settings for laravel or lumen
2,932 3
Install
composer require superman2014/json-api
PHP:>=5.6.4
License:MIT
Last Updated:Jul 3, 2017
Links: GitHub  ·  Packagist
Maintainer: liujingyu

Manual

Configuration

Install package composer require "superman2014/json-api:1.0.x@dev"

Laravel

Open config/app.php and register the required service provider above your application providers.

'providers' => [
    Superman2014\JsonApi\EncoderServiceProvider::class,
]

If you'd like to make configuration changes in the configuration file you can pubish it with the following Aritsan command:

php artisan vendor:publish --provider="Superman2014\JsonApi\EncoderServiceProvider"

Lumen

Open bootstrap/app.php and register the required service provider.

$app->register(Superman2014\JsonApi\EncoderServiceProvider::class);

More

neomerx/json-api

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

631,580,251 9,707
laravel/framework

The Laravel Framework.

580,311,802 34,925
laravel/tinker

Powerful REPL for the Laravel framework.

489,754,436 7,444
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

404,034,618 608
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

387,976,821 4,658