spatie/array-to-xml
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| vyuldashev/xml-to-array | 0.86 | A lightweight PHP package that converts XML strings into clean, recursively nested arrays. It parses elements, attributes, and text nodes into a predictable structure, making XML easy to work with alongside json_encode, config files, or Laravel collections without dependencies. | 36 | — | 15 | — | 5 | 2.2 | 2.3 | MIT | — |
|
| flowgistics/laravel-xml | 0.86 | 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 | |
| openlss/lib-array2xml | 0.86 | — | 307 | 322 | 25 | 394K | 2 | 4.3 | 44.3 | GPL-3.0 | 7 years 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 | |
| spatie/laravel-html | 0.85 | Generate HTML in Laravel with a clean, readable API. Build elements dynamically and compose them easily, including form fields that automatically pull values from models, session data, or defaults. Includes a convenient Html facade/alias for quick use. | 829 | 839 | 102 | 569K | 0 | 22.4 | 41.2 | MIT | 8 months ago | |
| ixnode/php-array-to-object | 0.85 | ixnode/php-array-to-object converts nested PHP arrays into object instances, giving you property-style access instead of array keys. A small, dependency-free helper for config, API payloads, and JSON-decoded data. | 1 | 1 | 0 | 1 | 0 | 0.3 | 2.4 | MIT | 3 years ago | |
| spatie/sheets | 0.85 | Spatie Sheets lets Laravel apps store and retrieve static content from plain text files. Markdown and front matter work out of the box, with flexible parsing, multiple content collections, indexing, and Eloquent-like casting—ideal for docs sites and blogs. | 306 | 307 | 23 | 12K | 0 | 17.1 | 23.2 | MIT | 8 months ago | |
| spatie/array-functions | 0.85 | Handy PHP array utilities from Spatie. Adds small, focused functions in the Spatie namespace (e.g., array_rand_value to pick a random value) to complement built-in array helpers. Install via Composer and use directly in your code. | 245 | 248 | 38 | 5K | 0 | 6.6 | 18.8 | MIT | 1 year ago | |
| mtownsend/xml-to-array | 0.85 | Easily convert XML into a clean, traversable PHP array and back again. This lightweight package handles nested elements, attributes, and namespaces, so you can consume XML feeds or APIs in Laravel and plain PHP projects without writing repetitive parsing code. | 116 | 123 | 14 | 202K | 3 | 19.1 | 51.9 | MIT | 1 month ago | |
| spatie/laravel-data | 0.85 | Spatie Laravel Data lets you define rich data objects once and reuse them as form requests, API transformers, and TypeScript definitions. It supports automatic validation, resource transformation, lazy properties, and constructing objects from request data. | 1,801 | 1,815 | 293 | 4M | 6 | 51.4 | 63.7 | MIT | 1 week ago | |
| spatie/fractalistic | 0.85 | Developer-friendly wrapper around League Fractal to transform API data with less boilerplate. Build resources, apply transformers, includes, and output arrays with a fluent API or one-liner syntax. Great for PHP projects; Laravel users may prefer laravel-fractal. | 383 | 385 | 32 | 429K | 0 | 17.2 | 44.3 | MIT | 8 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 | |
| sabre/xml | 0.85 | 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. | 529 | 554 | 79 | 1M | 19 | 30.3 | 58.7 | BSD-3-Clause | 6 months ago | |
| spatie/spatie-content-api | 0.85 | Laravel/PHP package powering Spatie’s promotional-site content API. Fetch posts for a product or project (e.g., mailcoach) via a simple ContentApi facade and expose consistent, reusable content to your frontend or other services. | 5 | 5 | 2 | 2K | 0 | 6.4 | 35.0 | MIT | 1 year ago | |
| spatie/html-element | 0.84 | Generate dynamic HTML in PHP with a hyperscript-style API plus Emmet-like selectors. Build elements and attributes with a simple render helper (often wrapped as el()) to produce nested markup cleanly and programmatically, ideal for small view components. | 192 | 195 | 23 | 1K | 0 | 3.5 | 12.0 | MIT | 4 years ago | |
| noki/laravel-xml-converter | 0.84 | 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 | — | |
| 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 | — | — | |
| spatie/string | 0.84 | Spatie's String package offers fluent, chainable string handling for PHP. Wrap native strings with the string() helper, then manipulate them using methods like between, toUpper, toLower, and offset access for cleaner, more readable code. | 559 | 570 | 26 | 20K | 0 | 19.3 | 23.3 | MIT | 6 months ago | |
| bmatovu/laravel-xml | 0.84 | 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 | |
| spatie/laravel-fractal | 0.84 | Laravel/Lumen wrapper for League Fractal to transform API data with a fluent, expressive syntax. Supports collections, includes, facades, and helper shortcuts to easily shape Eloquent results into consistent JSON-ready arrays. | 1,903 | 1,924 | 183 | 411K | 0 | 30.2 | 34.0 | MIT | 8 months ago |
How can I help you explore Laravel packages today?