Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Xml Core Laravel Package

dragon-code/xml-core

A lightweight XML core for Laravel and PHP that provides a simple, fluent API for building, parsing, and validating XML documents. It supports attributes, namespaces, and CDATA, helping you generate structured XML responses and handle common XML tasks without verbose boilerplate.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for XML handling. This package sits in the "small utility" category: XML serialization/parsing helpers for Laravel/PHP (array-to-XML, node manipulation, feed/sitemap/import-export plumbing). The decision it informs is not "which XML library" but "do we take a dependency at all, or write ~200 lines ourselves?"
  • Dependency consolidation and upgrade-path planning. Teams already inside the Dragon Code ecosystem (laravel-support and related packages) may find this pulled in transitively. That makes it a supply-chain and framework-upgrade decision, not a feature decision — and the 2.4.0 release is specifically relevant to it (see below).
  • Framework upgrade readiness. 2.4.0 adds Laravel 12 support. That converts a former hard blocker ("will this even install on our target framework?") into a soft risk ("it installs, but who fixes it next year?"). Useful input when sequencing a Laravel 12 migration where this package appears transitively.
  • Roadmap scoping for XML-adjacent features. If a roadmap item involves SOAP clients, RSS/Atom feeds, sitemaps, or ERP/bank file interchange, this is one of several candidate implementations to evaluate — but only as a reference point.
  • Vendoring vs. depending. MIT license permits copying the relevant code into your own codebase. That remains the most realistic product use: extract the pattern, drop the dependency.
  • Risk register input. With 2 stars and 0 dependents, the package still provides no adoption signal. A PM should treat "no dependents" as "no one has validated this in production," not as "untapped opportunity." The release cadence (a single compatibility bump plus a bot-updated license year) indicates maintenance mode, not active development.

When to Consider This Package

Consider it only in these narrow cases:

  • You have already inherited it as a transitive dependency of another Dragon Code package you cannot remove. 2.4.0 is good news here: Laravel 12 compatibility means you are not forced into a fork or a pin during your framework upgrade.
  • You want a small, MIT-licensed reference implementation of XML array conversion to read, adapt, and vendor into your own code — not to install.
  • You are doing a short-lived internal script where a minimally maintained dependency is acceptable because the code will be deleted, not operated.

Look elsewhere in essentially every other case:

  • Low-activity, single-maintainer status remains disqualifying for production. One compatibility PR and an automated license-year commit is a pulse, not a maintenance commitment. There is still no security-response process, no deprecation policy, and no evidence of PHP-version work beyond what Laravel 12 requires.
  • Verify the archive status before citing it. Prior assessment described the repo as archived; a merged community PR for Laravel 12 suggests either a reversal or that the archived label was stale. Either way, an unarchived-but-dormant repo carries the same ownership cost — confirm the current state rather than assuming momentum.
  • Zero dependents and 2 stars mean no battle-testing, no community troubleshooting, and no guarantee the API is stable or documented beyond the source.
  • The description is "The XML Core package" — no stated scope, no feature list. A PM cannot write acceptance criteria against an unspecified surface area.
  • Mature alternatives cover the same ground: symfony/serializer with XML encoders, sabre/xml, spatie/array-to-xml, laminas/laminas-xml, or PHP's native DOMDocument/SimpleXML/XMLReader. All are maintained, documented, and widely deployed.
  • If the real need is sitemaps or feeds specifically, pick a purpose-built, maintained package rather than a generic core utility.

How to Pitch It (Stakeholders)

Bottom line: still do not adopt this as a new dependency — but the upgrade objection is now weaker.

dragon-code/xml-core 2.4.0 adds Laravel 12 support and refreshes the license year. That is the entire release. It is a compatibility signal from a small, single-maintainer ecosystem package with 2 GitHub stars and zero dependents, and a one-line description that doesn't define its scope. The low opportunity score is unchanged: there is no adoption curve to ride.

For executives: the cost isn't the license (free) — it's the ownership cost. A dormant package becomes our code the moment we depend on it: every PHP upgrade, every CVE scan, every XML edge case lands on our team with no upstream SLA. 2.4.0 buys us one framework cycle of breathing room; it does not buy us a maintenance relationship. That's still a poor trade for functionality maintained libraries already provide.

For engineering: treat it as a reading reference, not a dependency. If a specific helper is genuinely useful, copy the relevant MIT-licensed code into our codebase with attribution and a test, so we own it explicitly. Otherwise standardize on a maintained option (symfony/serializer, sabre/xml, or native DOM/SimpleXML) and document the choice in our dependency policy. Where it arrives transitively, pin to 2.4.0 for the Laravel 12 window and note it as a candidate for replacement at the next dependency review.

Recommended action: keep archived-or-dormant packages on the explicit-exception list; record 2.4.0 as satisfying Laravel 12 compatibility so no migration work is blocked on it; route any new XML requirement to the maintained alternatives above; and re-check the repository's archive status and maintainer activity at the next dependency review rather than treating this release as a change in trajectory.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource