PHPackages                             pixelindustries/laravel-jsonapi - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. pixelindustries/laravel-jsonapi

AbandonedArchivedLibrary

pixelindustries/laravel-jsonapi
===============================

Laravel JSON-API Base.

022PHP

Since May 15Pushed 9y agoCompare

[ Source](https://github.com/Pixelindustries/laravel-jsonapi)[ Packagist](https://packagist.org/packages/pixelindustries/laravel-jsonapi)[ RSS](/packages/pixelindustries-laravel-jsonapi/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

*This package is abandoned!*

Please use [czim/laravel-jsonapi](https://github.com/czim/laravel-jsonapi) instead.

JSON-API Base
=============

[](#json-api-base)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

Basic application elements for JSON-API projects.

Offers means for quickly scaffolding JSON-API compliance for Laravel applications.

This does *NOT* provide the means to set up the API or the means for user authorisation.

Version Compatibility
---------------------

[](#version-compatibility)

LaravelPackage5.3.x?5.4.x?Installation
------------

[](#installation)

Via Composer

```
$ composer require pixelindustries/laravel-jsonapi
```

Add the `JsonApiServiceProvider` to your `config/app.php`:

```
Pixelindustries\JsonApi\Providers\JsonApiServiceProvider::class,
```

Publish the configuration file.

```
php artisan vendor:publish
```

### Exceptions

[](#exceptions)

In your `App\Exceptions\Handler`, change the `render()` method like so:

```
