flowgistics/laravel-xml 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

flowgistics/laravel-xml

最新稳定版本:1.2.0

Composer 安装命令:

composer require flowgistics/laravel-xml

包简介

README 文档

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This package handles importing and exporting XML data from your Laravel application.

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 flowgistics/laravel-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.

Credits

License

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

统计信息

  • 总下载量: 68.87k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 16
  • 点击次数: 2
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 16
  • Watchers: 1
  • Forks: 7
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-06-22