superman2014 / json-api by liujingyu

Given neomerx/json-api package, add some settings for laravel or lumen
1,937
3
2
Package Data
Maintainer Username: liujingyu
Maintainer Contact: jingyu525@gmail.com (liujingyu)
Package Create Date: 2017-06-26
Package Last Update: 2017-07-03
Language: PHP
License: MIT
Last Refreshed: 2024-05-03 15:08:02
Package Statistics
Total Downloads: 1,937
Monthly Downloads: 108
Daily Downloads: 0
Total Stars: 3
Total Watchers: 2
Total Forks: 2
Total Open Issues: 0

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