Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Xml Laravel Package

sabre/xml

sabre/xml is a lightweight, specialized XML reader and writer for PHP. It makes it easy to parse XML into structured data and generate XML output with namespace support. Version 3 adds strict type declarations and supports PHP 7.4+ and PHP 8.

View on GitHub
Deep Wiki
Context7
4.0.7

4.0.7 (2026-04-02)

3.0.7

3.0.7 (2026-04-02)

4.0.6

4.0.6 (2024-09-06)

  • #281 delete unused bin directory ( @szepeviktor )
  • #282 stop exporting php-cs-fixer config ( @szepeviktor )
  • #298 fix for passing a closed resource to Service parse or expect (@phil-davis)
3.0.6

3.0.6 (2024-09-06)

  • #298 fix for passing a closed resource to Service parse or expect (@phil-davis)
2.2.11

2.2.11 (2024-09-06)

  • #298 fix for passing a closed resource to Service parse or expect (@phil-davis)
3.0.5

3.0.5 (2024-09-05)

  • #294 Add PHP 8.4 compliance for v3 branch ( @phil-davis )
2.2.10

2.2.10 (2024-08-27)

Contains code style changes applied by php-cs-fixer major version 3. No changes to behavior.

2.2.9

2.2.9 (2024-07-26)

2.2.8

2.2.8 (2024-07-25)

4.0.5

4.0.5 (2024-04-18)

  • #270 Fixed handling of elements from foreign namespaces in values object ( @mrbig )
  • #271 Code format changes for php-cs-fixer 3.51 ( @phil-davis )
  • #272 More precise parseClarkNotation return type ( @staabm )
3.0.4

3.0.4 (2024-04-18)

  • #270 Fixed handling of elements from foreign namespaces in values object ( @mrbig )
  • #272 More precise parseClarkNotation return type ( @staabm )
2.2.7

2.2.7 (2024-04-18)

  • #270 Fixed handling of elements from foreign namespaces in values object ( @mrbig )
3.0.3

3.0.3 (2023-11-09)

  • #262 Backport fix: return type of XmlFragment::xmlDeserialize to match base declaration ( @phil-davis )
4.0.4
4.0.3
4.0.2

4.0.2 (2023-06-28)

  • #247 Enhance PHPdoc of Service write value parameter ( @phil-davis )
3.0.2

3.0.2 (2023-06-28)

  • #247 Enhance PHPdoc of Service write value parameter ( @phil-davis )
4.0.1

4.0.1 (2023-06-28)

  • #229 Fixed error where valueobject has eaten too much ( @mrbig )
  • #238 cs-fixer and CI updates ( @phil-davis )
  • #234 Call static assert functions with self:: tests-only ( @phil-davis )
  • #231 Adjust code style to meet current php-cs-fixer ( @phil-davis )
3.0.1

3.0.1 (2023-06-28)

  • #229 Fixed error where valueobject has eaten too much ( @mrbig )
  • #239 cs-fixer and CI updates ( @phil-davis )
2.2.6

2.2.6 (2023-06-28)

  • #229 Fixed error where valueobject has eaten too much ( @mrbig )
4.0.0

4.0.0 (2022-09-26)

This has been released as a major release to be sure that consumers can implement it as-and-when they wish, just in case someone has some code that depends on the Windows file path URI parsing that changed a bit between sabre/uri 2 and 3.

The use of sabre/uri major version 1 has also been dropped - that major version is very old, and everyone should be on major version 2 with PHP 7.4 or later anyway.

3.0.0

3.0.0 (2022-08-17)

  • #220 Set minimum PHP to 7.4 and declare types ( @phil-davis )
  • #219 Update .gitattributes ( @cedric-anne )
  • #217 Declare types ( @staabm )
  • #213 added phpstan types to deserializer functions ( @staabm )
  • #214 update phpstan 1.x ( @staabm )

Major version 3 implements type declarations for input parameters, function returns, variables etc. It supports PHP 7.4 and PHP 8. When you upgrade to major version 3, if you extend classes etc., then you will need to make similar type declarations in your code.

2.2.5

2.2.5 (2021-11-04)

  • #210 version bump that was missed in 2.2.4 ( @phil-davis )
2.2.4

Release 2.2.4 (2021-11-04)

  • #204 Use libxml version instead of PHP version before calling libxml_disable_entity_loader ( @CarlSchwan )
2.2.3

2.2.3 (2020-10-03)

  • #191: add changelog and version bump that was missed in 2.2.2
2.2.2

2.2.2 (2020-10-03)

  • #190: adjust libxml_disable_entity_loader calls ready for PHP 8.0 (@phil-davis)
2.2.1

2.2.1 (2020-05-11)

  • #183: fixed warning 'xml cannot be empty while reading', which might lead to a infinite-loop (@mrow4a)
  • #179, #178, #177 #176: several build/continous integration related improvements (@phil-davis)
2.2.0

2.2.0 (2020-01-31)

  • #171: Added Support for PHP 7.4, dropped Support for PHP 7.0 (@staabm, @phil-davis)
  • #174: Update testsuite to phpunit8 (@phil-davis)
  • Added phpstan coverage (@phil-davis)
  • #144: Added a new functionCaller deserializer function for executing a callable when reading a XML element (@vsouz4)
2.1.3
  • #166: Throw exception when empty inputs found
2.1.2
  • #161: Prevent infinite loop on empty xml elements
1.5.1
  • #161: Prevent infinite loop on empty xml elements
2.1.1
  • #149: Properly detect xml parse errors in parseCurrentElement() edge-cases
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4