prewk/xml-faker
Generate fake XML easily for tests and demos with prewk/xml-faker. Define elements and attributes, create realistic sample documents fast, and avoid hand-writing fixtures. Lightweight helper for PHP projects that need quick XML payloads.
Use When:
SimpleXMLElement or DOMDocument for stricter needs).Look Elsewhere If:
spatie/xml-to-array or custom libraries.ExtXML or Sabre/XML.For Executives: "This package lets us generate realistic fake XML data in minutes—critical for testing integrations, accelerating legacy system replacements, and reducing dev time on mockups. For example, instead of manually crafting XML for a SOAP API test (which takes hours), we can auto-generate it with one line of code. It’s a low-risk, high-impact tool for teams working with XML-heavy workflows, cutting costs on custom development while maintaining flexibility."
For Engineers: *"prewk/xml-faker combines Faker’s power with XML generation, so you can create fake but realistic XML payloads for:
Faker::createXml(['user' => ['name' => fakeName()]]).How can I help you explore Laravel packages today?