sycho/json-api
JSON-API responses in PHP
v0.5.2
1.2M downloads/mo
#4387 most downloaded on Packagist
SychO9/json-api-php
What this package is like to depend on
Last release 3 years ago
no release in 18 months
Ships unpredictably
gaps range from 3 months to 5.1 years
Nearly every release is documented
notes for 9 of 10 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
10 releases · first in 2015
0 releases in the last 12 months
see the full history below
Release timeline
10 releases · Aug 2015 to Apr 2023
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Releases
latest 10-
v0.5.216 Apr 2023 -
v0.5.104 Jul 2022 -
v0.5.009 Apr 2022Nothing published for this version
-
v0.4.105 Mar 2017 -
v0.4.005 Mar 2017Release notes
Open source →Added
Changed
- #106: Convert snake_case into camelCase when calling a relationship method. (@ustrugany)
Fixed
-
v0.3.031 Mar 2016Release notes
Open source →Added
- #79, #81: Allow serializers to add links and metadata to resources. (@bwaidelich)
Changed
- #62: Allow PHPUnit 5.0. (@vinkla)
- #85: Allow creation of relationships without data. (@josephmcdermott)
Fixed
- #65: Convert kebab-case into camelCase when calling a relationship method. (@avoelpel)
- #70: Include related resources even if relationship is not listed in sparse fieldset. (@Damith88)
- #72: Return
nullinParameters::getLimitif no limit is set. (@byCedric) - 46142e5: Prevent primary "data" resources from showing up again in the "included" array. (@tobscure)
-
v0.2.102 Nov 2015 -
v0.2.030 Oct 2015Release notes
Open source →Completely rewrite to improve all the things.
- Resources and Collections now contain data and are responsible for serializing it when they are converted to JSON-API output (whereas before serializers were responsible for creating concrete Resources/Collections containing pre-serialized data). Serializers are now only responsible for building attributes and relationships. This is a much more logical/testable workflow, and it makes some really cool syntax possible!
- Support for sparse fieldsets.
- Simplified relationship handling.
- Renamed Criteria to Parameters, add validation.
- Added ErrorHandler for serializing exceptions as JSON-API error documents.
- Updated docs.
- Wrote some tests.
- It should go without saying that this is not at all backwards-compatible with 0.1.
-
v0.1.107 Aug 2015 -
v0.1.007 Aug 2015