kerrialn/static-data-importer-bundle 问题修复 & 功能扩展

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

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

kerrialn/static-data-importer-bundle

最新稳定版本:v1.0.6

Composer 安装命令:

composer require kerrialn/static-data-importer-bundle

包简介

generates entity objects from json, xml, csv files and persists to the database

README 文档

README

A Symfony CLI Bundle for importing json, csv and/or xml directly into a database via an entity object.

Install:

composer require kerrialn/static-data-importer-bundle

Configure: add json, xml or csv files to ./data (name this anything you want) root directory in your project

  1. File naming convention {order number}_{entity name}.{format} Eg... 10_Blog.json, 20_category.csv or 30_User.xml (entity name is case-insensitive)
  2. Change the import order, with the order number in the file name.
  3. Add _SKIP (case-sensitive) to the filename to skip the file.

Run:

bin/console import data/

Please note: id fields will be ignored and will generate id as per your entity annotation/attribute definition.

统计信息

  • 总下载量: 14
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-08-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固