Skip to content

version 1.3.0

Choose a tag to compare

@nyamsprod nyamsprod released this 17 Nov 09:07
· 1559 commits to master since this release

Added

  • Query::getSeparator, Query::withSeparator to allow modifying query string separator.
  • Query::__construct takes a second argument, the query separator which default to &.
  • Query::__debugInfo nows adds query separator informations.
  • Query::withoutParams to complement Query::withoutPairs method.
  • Query::createFromParams to complement Query::createFromPairs named constructor.
  • Query::withoutNumericIndices to normalized the query string by removing extra numeric indices added by the use of http_build_query.
  • Query::withoutEmptyPairs to normalized the query string #7 and #8

Fixed

  • Query::merge and Query::append normalized the query string to remove empty pairs see #7 and #8
  • Query::build and Uri\build now accept any iterable structure.

Deprecated

  • None

Remove

  • None