Releases: beheh/sulphur
Releases · beheh/sulphur
v2.0.1
v2.0.0
This is a major release due to breaking changes.
- Breaking change: Replaced ResponseFactory with a more generic parser:
$parser = new Sulphur\Parser();
$response = $parser->parse(file_get_contents('example.com:80'));
- Added subsection field access:
echo $reference->first('PlayerInfos')->first('Client')->first('Player')->Name;
- Added
Response::first
to access the first reference - Key-Value pairs should not appear in the wrong section any more (the parser is now aware of indentation)
- Sulphur is now licensed under the ISC license