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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| veewee/xml | 0.87 | Type-safe, declarative XML toolkit for PHP. Work with DOM safely, encode/decode XML like JSON, handle errors, and stream large files with memory-safe reader/writer. Includes XSD schema tools and XSLT transformations. Spec-compliant from v4 (PHP 8.4+). | 183 | 181 | 11 | 332K | 1 | 30.4 | 52.9 | MIT | 1 week ago | |
| pear/xml_util | 0.81 | PEAR XML_Util provides handy helpers for working with XML: build attribute lists from arrays, generate tags, validate XML names, and more. Lightweight utility methods for creating and checking XML document parts in PHP. | 2 | 2 | 3 | 36K | 0 | 11.4 | 65.0 | — | 5 years ago | |
| spatie/value-object | 0.77 | Deprecated Spatie package for PHP 8+ data transfer objects. Create typed DTOs from arrays with casting, validation, and attribute mapping (e.g., nested keys). Consider migrating to spatie/laravel-data or cuyz/valinor. | 2,233 | 2,179 | 190 | 0 | 0 | 22.9 | — | MIT | 3 years ago | |
| spatie/php-attribute-reader | 0.77 | Lightweight PHP 8+ utility to read native attributes from classes, methods, properties, and parameters using reflection. Designed for simple, fast attribute discovery in frameworks and libraries, with an API that fits common annotation-style workflows. | 84 | 84 | 1 | 240K | 0 | 21.4 | 56.1 | MIT | 1 month ago | |
| spatie/data-transfer-object | 0.77 | PHP 8+ data transfer objects with “batteries included”: map and cast input arrays into typed DTOs, validate via attributes, and handle nested objects/collections. Note: package is deprecated; consider spatie/laravel-data or cuyz/valinor. | 2,233 | 2,192 | 190 | 543K | 0 | 22.9 | 38.8 | MIT | 3 years ago | |
| spatie/array-functions | 0.77 | 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 | 249 | 40 | 953 | 0 | 26.6 | 11.2 | MIT | 1 year ago | |
| spatie/fractalistic | 0.77 | 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. | 385 | 387 | 34 | 275K | 0 | 31.3 | 46.4 | MIT | 1 month ago | |
| masterminds/html5 | 0.76 | Standards-compliant HTML5 parser and serializer for PHP. Provides SAX-like event parsing, DOM tree building, namespace support, Composer install, and interoperability with QueryPath. Stable and widely used in production. | 1,772 | 1,790 | 120 | 8M | 29 | 50.7 | 74.0 | NOASSERTION | 8 months ago | |
| spatie/schema-org | 0.76 | Fluent PHP builder for Schema.org: generate any type and property from the full core vocabulary and output valid JSON-LD (ld+json) script tags. Generated from the official Schema.org JSON-LD, with documented classes and methods. | 1,476 | 1,490 | 146 | 278K | 0 | 40.8 | 37.0 | MIT | 1 month ago |
How can I help you explore Laravel packages today?