sabre/xml
sabre/xml is a specialized XML reader and writer for PHP, offering a simple, namespace-aware API for parsing and generating XML. It supports PHP 7.4 and 8, with full type declarations in version 3.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| doctrine/oxm | 0.87 | Doctrine OXM (Object XML Mapper) maps PHP objects to XML documents and back using Doctrine-style metadata. Useful for XML serialization/deserialization in domain models, with mapping drivers and runtime tools to integrate XML workflows into applications. | 85 | 88 | 20 | 1 | 0 | 0.5 | 0.1 | MIT | — | |
| bmatovu/laravel-xml | 0.87 | A Laravel package for working with XML. It converts XML requests and responses into arrays, adds XML response helpers and middleware, and lets your APIs accept and return XML alongside JSON, with configurable parsing and validation support. | 88 | 91 | 10 | 7K | 5 | 11.4 | 30.6 | MIT | 6 months ago | |
| ajtis/xml-bundle | 0.86 | — | 0 | 0 | 0 | 68 | 0 | 5.9 | 26.5 | MIT | 9 months ago | |
| sclable/xml-lint | 0.86 | Command-line tool to lint XML files and validate them against referenced XSD schemas. Works on single files or entire directories (optionally recursive), with verbose output, exclusions, and the ability to skip schema validation. Install via Composer and run vendor/bin/xmllint. | 23 | 24 | 10 | 8K | 3 | 5.5 | 36.9 | MIT | 1 year ago | |
| desperado/xml-bundle | 0.86 | — | 9 | 9 | 9 | 326 | 1 | 2.2 | 21.8 | MIT | 11 years ago | |
| shanethehat/pretty-xml | 0.85 | Pretty XML is a lightweight PHP package for formatting raw XML into clean, readable, indented output. It wraps DOMDocument to add proper line breaks and indentation, making XML easier to debug, log, or display. Simple to install and use in any PHP or Laravel project. | 22 | 24 | 10 | 5K | 0 | 18.4 | 37.6 | MIT | 1 month ago | |
| thenorthmemory/xml | 0.85 | Lightweight XML transformer for PHP: parse XML into arrays and build XML back from arrays. Supports repeated elements/lists, optional pretty printing, custom root nodes, and wrapping arrays to control tag output. Extracted from wechatpay-php for general use. | 9 | 9 | 0 | 30K | 0 | 0.9 | 48.0 | Apache-2.0 | 3 years ago | |
| mtownsend/response-xml | 0.85 | Return XML from your Laravel API as easily as JSON. This package adds a fluent xml() response helper that converts Eloquent models, collections, arrays, and paginators into clean, customizable XML, with support for custom root nodes, headers, and encoding — no manual string building required. | 104 | 107 | 22 | 42K | 6 | 12.0 | 40.3 | MIT | 6 months ago | |
| mtownsend/collection-xml | 0.85 | mtownsend/collection-xml adds a simple toXml() macro to Laravel collections and arrays, making it easy to convert nested data into clean XML for feeds, APIs, exports, and legacy integrations. | 44 | 44 | 5 | 876 | 1 | 11.8 | 19.9 | MIT | 5 months ago | |
| jailtonsc/laravel-response-xml | 0.85 | — | 47 | 48 | 14 | 5K | 10 | 3.5 | 30.6 | — | — | |
| xmlvalid/xmlvalid-laravel | 0.85 | A Laravel integration for XML validation that provides validation rules, a facade, and configuration helpers for checking XML documents against XSD schemas. It simplifies adding schema-aware XML checks to uploads, APIs, and form requests in Laravel applications. | 1 | — | 0 | — | 0 | 19.5 | — | MIT | 2 weeks ago | |
| noki/laravel-xml-converter | 0.85 | A lightweight Laravel package for converting XML to arrays and arrays or objects back to XML. It offers configurable handling for attributes, namespaces, and formatting, making XML integration simple in Laravel apps. | 32 | 32 | 0 | 2K | 0 | 0.2 | 24.4 | MIT | — | |
| flowgistics/laravel-xml | 0.85 | Laravel XML is a lightweight package for working with XML in Laravel apps. Parse, build, and convert XML documents to arrays or JSON using a simple, expressive API for reading and writing XML. | 16 | 16 | 8 | 3K | 0 | 0.6 | 31.3 | MIT | 1 year ago | |
| spatie/array-to-xml | 0.85 | Simple PHP utility to convert arrays into XML strings. Supports custom root element names and configurable key handling (e.g., converting spaces to underscores). Ideal for quickly generating XML output from structured array data. | 1,199 | 1,226 | 214 | 3M | 0 | 23.6 | 48.4 | MIT | 10 months ago | |
| nb/oxymel | 0.85 | Oxymel is a lightweight, chainable XML builder for PHP. Build well-formed XML documents with a fluent API instead of string concatenation, handling elements, attributes, text, and nesting cleanly. | 22 | — | 3 | — | 0 | 0.2 | — | — | — |
|
| laminas/laminas-xml | 0.85 | Secure XML utilities for PHP: parse and validate XML with safe defaults, mitigate XXE/XEE attacks, and control external entity loading. Helpful for apps that consume untrusted XML and need hardened DOM/LibXML configuration. | 14 | 14 | 10 | 72K | 1 | 11.3 | 54.7 | BSD-3-Clause | 9 months ago | |
| mtownsend/request-xml | 0.84 | Adds simple XML response parsing to Laravel's HTTP client. Call xml() on responses to convert XML into arrays, making XML APIs as easy to work with as JSON. Lightweight and Laravel-friendly for legacy or SOAP-style endpoints. | 43 | 43 | 14 | 18K | 0 | 9.3 | 38.9 | MIT | 6 months ago | |
| zf1/zend-xml | 0.84 | Zend Framework 1 XML component, split out as a standalone package. Provides XML handling utilities such as DOM/SimpleXML helpers and security-conscious parsing features used by legacy ZF1 apps that need dependable XML processing without the full framework. | 3 | 3 | 4 | 17K | 1 | 0.2 | 49.9 | BSD-3-Clause | — | |
| eclipxe/xmlschemavalidator | 0.84 | A lightweight PHP library for validating XML documents against XSD schemas using DOMDocument and libxml. It provides simple APIs for validating XML strings or files, collects detailed schema errors, supports exception-based handling, and integrates easily into Composer-based PHP projects. | 15 | 17 | 5 | 18K | 0 | 7.5 | 44.8 | MIT | 7 months ago | |
| acfbentveld/xml | 0.84 | A Laravel/PHP package for working with XML. It offers a simple API to parse and read XML, convert XML into arrays or objects, and generate XML output, making common XML handling tasks cleaner and easier in Laravel applications. | 0 | 13 | — | 1 | — | 0.0 | 4.2 | — | — |
How can I help you explore Laravel packages today?