2017 © Pedro Peláez
 

library partial-response-middleware

filter out not needed fields from API response

image

messere/partial-response-middleware

filter out not needed fields from API response

  • Wednesday, July 25, 2018
  • by Messere
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Partial Response PSR-15 Middleware

Purpose

Google in their Performance Tips for APIs, suggest to limit required bandwidth by filtering out unused fields in response. Their APIs support additional URL parameter fields which asks API to include only specific fields in response., (*1)

This project wraps php-value-mask library (which provides filter parsing and filtering) in PSR-15 middleware, which can be used with standards compatible frameworks., (*2)

See php-value-mask project for more details on filtering syntax., (*3)

Acknowledgements

License

MIT, (*4)

The Versions

25/07 2018

dev-master

9999999-dev https://github.com/Messere/php-value-mask

filter out not needed fields from API response

  Sources   Download

MIT

The Requires

 

The Development Requires

by Dariusz Sieradzki

middleware filter filtering mask psr-15 partial response json filtering

25/07 2018

0.1.0

0.1.0.0 https://github.com/Messere/php-value-mask

filter out not needed fields from API response

  Sources   Download

MIT

The Requires

 

The Development Requires

by Dariusz Sieradzki

middleware filter filtering mask psr-15 partial response json filtering