LaravelPackages.net
Acme Inc.
Toggle sidebar
welkervinicius/xml

forked from ayagaidi/XML

15
0
1.1.0
About welkervinicius/xml

welkervinicius/xml is a Laravel package for forked from ayagaidi/xml. It currently has 0 GitHub stars and 15 downloads on Packagist (latest version 1.1.0). Install it with composer require welkervinicius/xml. Discover more Laravel packages by welkervinicius or browse all Laravel packages to compare alternatives.

Last updated

Laravel XML made easy!

Latest Version on Packagist Total Downloads Build Status StyleCI

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

You can install the package via composer:

composer require acfbentveld/xml

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:

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

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

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

Credits

License

The MIT License (MIT). Please see License File for more information.

Comments