All Projects → cloudcreativity → Laravel Json Api

cloudcreativity / Laravel Json Api

Licence: apache-2.0
JSON API (jsonapi.org) package for Laravel applications.

Projects that are alternatives of or similar to Laravel Json Api

Sarala
Javascript library to communicate with RESTful API built following JSON API specification. inspired by Laravel’s Eloquent
Stars: ✭ 101 (-84.86%)
Mutual labels:  json-api, laravel
Laravel Jsonapi
Basic setup framework for creating a Laravel JSON-API server
Stars: ✭ 16 (-97.6%)
Mutual labels:  json-api, laravel
Demo Laravel Json Api
Demo of JSON API integration with a Laravel Application
Stars: ✭ 68 (-89.81%)
Mutual labels:  json-api, laravel
Laravel Api Boilerplate
A Boilerplate Project For Laravel API's (NOT MAINTAINED)
Stars: ✭ 113 (-83.06%)
Mutual labels:  json-api, laravel
Api Generator
PHP-code generator for Laravel framework, with complete support of JSON-API data format
Stars: ✭ 244 (-63.42%)
Mutual labels:  json-api, laravel
Polr
🚡 A modern, powerful, and robust URL shortener
Stars: ✭ 4,147 (+521.74%)
Mutual labels:  json-api, laravel
Laravel5 Jsonapi
Laravel 5 JSON API Transformer Package
Stars: ✭ 313 (-53.07%)
Mutual labels:  json-api, laravel
Aimeos Laravel
Laravel ecommerce package for professional, ultra fast online shops, complex B2B applications and #gigacommerce
Stars: ✭ 5,204 (+680.21%)
Mutual labels:  json-api, laravel
Laravel Translatable
A Laravel package for multilingual models
Stars: ✭ 624 (-6.45%)
Mutual labels:  laravel
Jsonapi Serializer
A Node.js framework agnostic library for (de)serializing your data to JSON API
Stars: ✭ 651 (-2.4%)
Mutual labels:  json-api
Analogue
Analogue ORM : Data Mapper ORM for Laravel/PHP
Stars: ✭ 618 (-7.35%)
Mutual labels:  laravel
Laravel Options
Global key-value store in the database
Stars: ✭ 626 (-6.15%)
Mutual labels:  laravel
Yike.io
一刻社区前端源码
Stars: ✭ 651 (-2.4%)
Mutual labels:  laravel
Ja serializer
JSONAPI.org Serialization in Elixir.
Stars: ✭ 621 (-6.9%)
Mutual labels:  json-api
Lang
List of 78 languages for Laravel Framework 4, 5, 6, 7 and 8, Laravel Jetstream , Laravel Fortify, Laravel Breeze, Laravel Cashier, Laravel Nova and Laravel Spark.
Stars: ✭ 6,285 (+842.28%)
Mutual labels:  laravel
Google2fa Laravel
A One Time Password Authentication package, compatible with Google Authenticator for Laravel
Stars: ✭ 618 (-7.35%)
Mutual labels:  laravel
Laravel Admin
Laravel Admin Panel
Stars: ✭ 614 (-7.95%)
Mutual labels:  laravel
Laravel Web Tinker
Tinker in your browser
Stars: ✭ 664 (-0.45%)
Mutual labels:  laravel
Linkace
Your self-hosted bookmark archive. Free and open source.
Stars: ✭ 657 (-1.5%)
Mutual labels:  laravel
Laravel Imageup
Auto Image & file upload, resize and crop for Laravel eloquent model using Intervention image
Stars: ✭ 646 (-3.15%)
Mutual labels:  laravel

Tests

cloudcreativity/laravel-json-api

Status

This package has now been rewritten, substantially improved and released as the laravel-json-api/laravel package. Documentation for the new version is available on our new website laraveljsonapi.io and the code is now developed under the Laravel JSON:API Github organisation.

The cloudcreativity/laravel-json-api package is now considered to be the legacy package. As we know it is in use in a lot of production applications, it will continue to receive bug fixes and updates for new Laravel versions. However, it is no longer supported for new features.

If you are starting a new project, please use the new package laravel-json-api/laravel instead.

Introduction

Build feature-rich and standards-compliant APIs in Laravel.

This package provides all the capabilities you need to add JSON API compliant APIs to your application. Extensive support for the specification, including:

  • Fetching resources
  • Fetching relationships
  • Inclusion of related resources (compound documents)
  • Sparse fieldsets.
  • Sorting.
  • Pagination.
  • Filtering
  • Creating resources.
  • Updating resources.
  • Updating relationships.
  • Deleting resources.
  • Validation of:
    • JSON API documents; and
    • Query parameters.

The following additional features are also supported:

  • Full support for Eloquent resources, with features such as:
    • Automatic eager loading when including related resources.
    • Easy relationship end-points.
    • Soft-deleting and restoring Eloquent resources.
    • Page and cursor based pagination.
  • Asynchronous processing.
  • Support multiple media-types within your API.
  • Generators for all the classes you need to add a resource to your API.

What is JSON API?

From jsonapi.org

If you've ever argued with your team about the way your JSON responses should be formatted, JSON API is your anti-bikeshedding weapon.

By following shared conventions, you can increase productivity, take advantage of generalized tooling, and focus on what matters: your application. Clients built around JSON API are able to take advantage of its features around efficiently caching responses, sometimes eliminating network requests entirely.

For full information on the spec, plus examples, see http://jsonapi.org.

Tutorial and Documentation

Want a tutorial to get started? Read the How to JSON:API Laravel tutorial.

Full package documentation is available on Read the Docs.

Slack

Join the Laravel JSON:API community on Slack.

Laravel Versions

Laravel This Package
^8.0 ^3.0
^7.0 ^2.0
^6.0 ^1.7
5.8.* ^1.7
5.7.* ^1.0
5.6.* ^1.0
5.5.* ^1.0

Make sure you consult the Upgrade Guide when upgrading between major or pre-release versions.

License

Apache License (Version 2.0). Please see License File for more information.

Installation

Installation is via composer. See the documentation for complete instructions.

Contributing

Contributions are absolutely welcome. Ideally submit a pull request, even more ideally with unit tests. Please note the following:

  • Bug Fixes - submit a pull request against the master branch.
  • Enhancements / New Features - submit a pull request against the develop branch.

We recommend submitting an issue before taking the time to put together a pull request.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].