No commit activity in last 3 years
No release in over 3 years
The PHP language has a built-in http_build_query() function that creates a URL-encoded string that is a representation of multi-dimensional datatypes. This gem provides a mostly-congruent method in Ruby for dealing with PHP-based HTTP applications that expect parameters in this format.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
 Project Readme

php_http_build_query

A Ruby implementation of PHP's http_build_query()

The PHP language has a built-in http_build_query() function that creates a URL-encoded string that is a representation of multi-dimensional datatypes.

At the time of writing, this is described in PHP's documentation.

This gem provides a mostly-congruent method in Ruby for dealing with PHP-based HTTP applications that expect parameters in this format.

The need for this arises, because it's not very simple to convert conventional Ruby Hashes and Arrays into the format representing PHP's idea of what an "array" type is.