LaravelPackages.net
Acme Inc.
Toggle sidebar
snow-digital/laravel-json-api

1.425
0
v0.0.3
About snow-digital/laravel-json-api

snow-digital/laravel-json-api is a Laravel package. It currently has 0 GitHub stars and 1.425 downloads on Packagist (latest version v0.0.3). Install it with composer require snow-digital/laravel-json-api. Discover more Laravel packages by snow-digital or browse all Laravel packages to compare alternatives.

Last updated

Laravel JSON:API

This package allows to quickly prototype a JSON:API API, automatizing most of it from Eloquent or QueryBuilder.

It's based on top of Spatie Query Builder and JSON Api Paginate, allowing to easily switch when you need more flexibility without having to rework everything.

Installation

You can install the package via composer:

composer require snow-digital/laravel-json-api

Optionally you can publish the config file with:

php artisan vendor:publish --tag=json-api-config

Usage

If you are using Laravel default structure, you don't need to do anything else. It will detect and register automatically all Eloquent Models as resources.

You can check if the routes are registered correclty using:

php artisan route:list --name=json-api
Comments