PHPackages                             welkervinicius/xml - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. welkervinicius/xml

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

welkervinicius/xml
==================

forked from ayagaidi/XML

1.1.0(3y ago)015MITPHPPHP ^7.2|8.\*

Since Jun 23Pushed 3y agoCompare

[ Source](https://github.com/welkervinicius/XML)[ Packagist](https://packagist.org/packages/welkervinicius/xml)[ Docs](https://github.com/ACFBentveld/XML)[ RSS](/packages/welkervinicius-xml/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

Laravel XML made easy!
======================

[](#laravel-xml-made-easy)

[![Latest Version on Packagist](https://camo.githubusercontent.com/194ece52174428fcecd6be9718da8b40ed5d80e6cf598b0300a5c854429c503f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f61636662656e7476656c642f786d6c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/acfbentveld/xml)[![Total Downloads](https://camo.githubusercontent.com/ddd0fd4f0cabfa0fbd3d34f20d95091fac7a39ff76656a688d3066eed5a641b6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f61636662656e7476656c642f786d6c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/acfbentveld/xml)[![Build Status](https://camo.githubusercontent.com/3b577e034c6a4a3d7f894f332571c616a5580cf4ba2c5b99bde75e735d978903/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f41434642656e7476656c642f584d4c2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/ACFBentveld/XML)[![StyleCI](https://camo.githubusercontent.com/a9a33ca1524a73feb4a0793a73cdeb4da5cf93fd4358c81b150cc98f1b7365b4/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3133373231333831352f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/137213815)

This package is optimized XML handling package for Laravel aiming to be easy and fast.

The main features are

- Fast XML importing with the ability to cast to classes and models
- XML exporting from (nested / value only ) arrays
- Exporting Laravel views to XML

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require acfbentveld/xml
```

Usage
-----

[](#usage)

This packages comes with a facade which you can use like this `\XML::` or use it in your class like `use XML;`

In depth guides can be found here:

- [Exporting](https://acfbentveld.github.io/XML/docs/export)
- [Importing](https://acfbentveld.github.io/XML/docs/import)

```
$notes = XML::import("notes.xml")
    ->cast('note')->to(NoteModel::class)
    ->expect('note')->as('array')
    ->optimize('camelcase')
    ->get();
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Wim Pruiksma](https://github.com/wimurk)
- [Amando Vledder](https://github.com/AmandoVledder)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~417 days

Total

2

Last Release

1370d ago

PHP version history (2 changes)1.0.0PHP ^7.2

1.1.0PHP ^7.2|8.\*

### Community

Maintainers

![](https://www.gravatar.com/avatar/17cfca6a0793a6c51449e1df75adebd749c49f3213b9d234a3131a86dd555197?d=identicon)[welkervinicius](/maintainers/welkervinicius)

---

Top Contributors

[![AmandoVledder](https://avatars.githubusercontent.com/u/15369884?v=4)](https://github.com/AmandoVledder "AmandoVledder (30 commits)")[![wimurk](https://avatars.githubusercontent.com/u/14072334?v=4)](https://github.com/wimurk "wimurk (27 commits)")[![welkervinicius](https://avatars.githubusercontent.com/u/3296567?v=4)](https://github.com/welkervinicius "welkervinicius (8 commits)")

---

Tags

laravelxmlreader

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/welkervinicius-xml/health.svg)

```
[![Health](https://phpackages.com/badges/welkervinicius-xml/health.svg)](https://phpackages.com/packages/welkervinicius-xml)
```

###  Alternatives

[ultrono/laravel-sitemap

Sitemap generator for Laravel 11, 12 and 13

36412.6k6](/packages/ultrono-laravel-sitemap)[bmatovu/laravel-xml

Laravel XML Support

91270.4k](/packages/bmatovu-laravel-xml)[flowgistics/laravel-xml

1674.2k2](/packages/flowgistics-laravel-xml)[tucker-eric/laravel-xml-middleware

A Laravel Middleware to accept XML requests

181.2M](/packages/tucker-eric-laravel-xml-middleware)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
