- Add
Parser::reverseParse()
doing the opposite ofParser::parse()
#10 by @nickinthebox
- Fixes merge issue with mix of true & Fields for the same key
- [BREAKING] return type of
Parser::parse()
is an instance ofMapado\RequestFieldsParser\Fields
instead of an array. It does implementsArrayAccess
andIteratorAggregate
so you still can access data as array, but you cannot use array methods on it. You can convert the result to an array by calling thetoArray()
function. You can convert an array to a Fields usingFields::fromArray()
. You can also call thekeys()
method to get all keys. You can cast it to a string to get the same string as a parsable string. - [BREAKING] Drop support for PHP < 8.1 #2
- [BREAKING] Drop support for doctrine/lexer < 2.0 and allow doctrine/lexer 3 #3 and #4
- [Breaking] Added compatibility for PHP 8.1