pear/xml_util
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.
Architecture fit remains critical—Laravel’s Composer-centric ecosystem is fundamentally incompatible with pear/xml_util, a legacy PEAR package. The new release (v1.4.5) introduces a minor bugfix (PR #12) for a type error, but this does not address the core incompatibilities: no Composer support, PHP 8+ unsupported, and archived maintenance (last release in 2020). Technical risks persist:
XML_Parser).symfony/xml, ext-dom, or spatie/array-to-xml) cannot provide?Stack fit is still nonexistent. The v1.4.5 release does not introduce Composer support, autoloading, or Laravel service provider integration. Migration path remains impossible without:
array() constructor deprecation).pear/xml_util with a Composer package (e.g., spatie/array-to-xml for conversion, ext-dom for parsing) during initial setup or a dedicated refactor sprint.shell_exec()—but this introduces security and maintainability risks.Maintenance burden is unchanged and severe:
Illuminate\Support\Facades\File for XML generation).spatie/array-to-xml) to validate feature parity before committing to PEAR.How can I help you explore Laravel packages today?