enm/json-api-common
JSON API Common provides shared PHP classes and interfaces for building JSON:API-compliant servers and clients. It powers enm/json-api-server and enm/json-api-client, covering resources, relationships, links, documents, errors, and requests.
ResourceInterface::getType() to ResourceInterface::type()ResourceInterface::getId() to ResourceInterface::id()RelationshipInterface::getType() to RelationshipInterface::type()RelationshipInterface::getName() to RelationshipInterface::name()LinkInterface::getType() to LinkInterface::type()LinkInterface::getName() to LinkInterface::name()ErrorInterface::getStatus() to LinkInterface::status()ErrorInterface::getCode() to LinkInterface::code()ErrorInterface::getTitle() to LinkInterface::title()ErrorInterface::getDetail() to LinkInterface::detail()LinkCollectionInterfaceDocumentInterfaceDocumentInterfaceDocumentInterface, to modify the status of a documentDocumentInterfaceDocumentInterfaceDocument as default implementation of DocumentInterfaceAbstractDocument (use Document instead)ResourceDocument (use Document instead)ResourceCollectionDocument (use Document instead)RelationshipDocument (use Document instead)RelationshipCollectionDocument (use Document instead)ErrorDocument (use Document instead)JsonApiInterface for information about the used version in documentsJsonApi as default implementation of JsonApiInterface for information about the used version in documentsDocumentFactoryInterface and class DocumentFactoryResourceFactoryInterface and class ResourceFactoryResourceFactoryRegistryRelationshipFactoryInterface and class RelationshipFactoryFetchRequestInterfaceFetchRequestJsonApiRequestInterfaceJsonApiRequestSaveRequestInterfaceRelationshipModificationRequestSaveSingleResourceRequestDocumentSerializerInterface::serializeDocumentSerializer::serializeDocumentDocumentDeserializerInterfaceDeserializer as default implementation of DocumentDeserializerInterfaceJsonApiInterface and JsonApiTraitJsonApiAwareInterface and trait JsonApiAwareTraitHow can I help you explore Laravel packages today?