Download Latest Version v0.4.1 source code.zip (17.5 kB)
Email in envelope

Get an email when there's a new version of PHP JSON-API

Home / v0.2.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2015-10-30 785 Bytes
v0.2.0 source code.tar.gz 2015-10-30 14.0 kB
v0.2.0 source code.zip 2015-10-30 30.9 kB
Totals: 3 Items   45.6 kB 0

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.

Source: README.md, updated 2015-10-30