veewee / xml
XML without worries
Fund package maintenance!
veewee
Installs: 1 318 007
Dependents: 12
Suggesters: 2
Security: 0
Stars: 165
Watchers: 5
Forks: 7
Open Issues: 2
Requires
- php: ~8.1.0 || ~8.2.0 || ~8.3.0
- ext-dom: *
- ext-libxml: *
- ext-xml: *
- ext-xmlreader: *
- ext-xmlwriter: *
- ext-xsl: *
- azjezz/psl: ^2.0.3
- webmozart/assert: ^1.10
Requires (Dev)
- php-standard-library/psalm-plugin: ^2.2
- symfony/finder: ^6.1
- veewee/composer-run-parallel: ^1.0.0
- vimeo/psalm: ^5.4
This package is auto-updated.
Last update: 2024-07-05 10:19:55 UTC
README
<XML />
XML without worries
This package aims to provide all tools for dealing with XML in PHP without worries. You will find a type-safe, declarative API that deals with errors for you!
Installation
composer require veewee/xml
Components
- DOM: Operate on XML documents through the DOM API.
- Encoding: Provides
xml_encode()
andxml_decode()
so that you can deal with XML just like you deal with JSON! - ErrorHandling: Provides the tools you need to safely deal with XML.
- Reader: Memory-safe XML reader.
- Writer: Memory-safe XML writer.
- XSD: Tools for working with XSD schemas.
- XSLT: Transform XML documents into something else.
Roadmap
These components are not implemented yet, but have been thought about. Stay tuned if you want to use these!
- External: Saxon/C: XSLT 3.0/2.0, XQuery 3.1, XPath 3.1 and Schema Validation 1.0/1.1
- Awaiting PHP8 support: https://saxonica.plan.io/issues/4842
External: XSLT2(prefer saxon/c)
About
Submitting bugs and feature requests
Bugs and feature request are tracked on GitHub. Please take a look at our rules before contributing your code.
License
veewee/xml is licensed under the MIT License.