Download the PHP package diegograssato/apigility-xml-negotiation without Composer
On this page you can find all versions of the php package diegograssato/apigility-xml-negotiation. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download diegograssato/apigility-xml-negotiation
More information about diegograssato/apigility-xml-negotiation
Files in diegograssato/apigility-xml-negotiation
Download diegograssato/apigility-xml-negotiation
More information about diegograssato/apigility-xml-negotiation
Files in diegograssato/apigility-xml-negotiation
Vendor diegograssato
Package apigility-xml-negotiation
Short Description Apigility Module providing XML content-negotiation features
License MIT
Homepage https://github.com/diegograssato/apigility-xm-lnegotiation
Package apigility-xml-negotiation
Short Description Apigility Module providing XML content-negotiation features
License MIT
Homepage https://github.com/diegograssato/apigility-xm-lnegotiation
Please rate this library. Is it a good library?
Informations about the package apigility-xml-negotiation
apigility-xml-negotiation
Apigility Module providing XML content-negotiation features
This module is inspired from abandoned ApigilityXml project for Markus!
Necessary infrastructure to handle XML with ZF Apigility with HAL structure.
Response type is based on Accept header :
- request that specifies application/xml (or application/*+xml) get the content in XML
- application/hal+json (or application/*+json) request get the content in HalJson as usual.
Installation
Install composer in your project
curl -s http://getcomposer.org/installer | php
Define dependencies in your composer.json file
Finally install dependencies
php composer.phar install
or update it
php composer.phar update
Usage
-
Add ZF\ContentNegotiation\XML to modules.config.php:
- Go to admin, select your API and change Content Negotiation Selector to HalJsonXML
- Add application/xml to Accept whitelist and Content-Type whitelist. Add other headers if needed.
- Save configuration
All versions of apigility-xml-negotiation with dependencies
PHP Build Version
Package Version
Requires
php Version
^5.6 || ^7.0
zfcampus/zf-apigility Version ^1.3
zfcampus/zf-content-negotiation Version ^1.2
zendframework/zend-stdlib Version ^2.7.7 || ^3.0.1
zendframework/zend-serializer Version ^2.7.7 || ^3.0.1
zendframework/zend-component-installer Version ^1.0 || ^0.5 || ^1.0.0-dev@dev
zfcampus/zf-apigility Version ^1.3
zfcampus/zf-content-negotiation Version ^1.2
zendframework/zend-stdlib Version ^2.7.7 || ^3.0.1
zendframework/zend-serializer Version ^2.7.7 || ^3.0.1
zendframework/zend-component-installer Version ^1.0 || ^0.5 || ^1.0.0-dev@dev
The package diegograssato/apigility-xml-negotiation contains the following files
Loading the files please wait ....