PHPackages                             yuriy-sorokin/database-exporter-importer - 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. [Database &amp; ORM](/categories/database)
4. /
5. yuriy-sorokin/database-exporter-importer

ActiveLibrary[Database &amp; ORM](/categories/database)

yuriy-sorokin/database-exporter-importer
========================================

This package is used to export/import database data to/from different formats. Currently it supports only MySQL database and JSON export/import structure.

2.0.0(10y ago)024MITPHP

Since Nov 26Pushed 10y ago1 watchersCompare

[ Source](https://github.com/yuriy-sorokin/database-exporter-importer)[ Packagist](https://packagist.org/packages/yuriy-sorokin/database-exporter-importer)[ RSS](/packages/yuriy-sorokin-database-exporter-importer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

Database data exporter/importer
===============================

[](#database-data-exporterimporter)

[![License](https://camo.githubusercontent.com/2f7ecec53c2446cb50710fb17630805a438c3e0236e55bdf5c162da8bfe9e246/68747470733a2f2f706f7365722e707567782e6f72672f79757269792d736f726f6b696e2f64617461626173652d6578706f727465722d696d706f727465722f6c6963656e7365)](https://packagist.org/packages/yuriy-sorokin/database-exporter-importer)[![Latest Stable Version](https://camo.githubusercontent.com/a02f1b633f382ab3afc228200f0da5e199d9e3d46d79ba6248e2df41c8fbcfff/68747470733a2f2f706f7365722e707567782e6f72672f79757269792d736f726f6b696e2f64617461626173652d6578706f727465722d696d706f727465722f762f737461626c65)](https://packagist.org/packages/yuriy-sorokin/database-exporter-importer)[![Total Downloads](https://camo.githubusercontent.com/0407d73c353fe2db4aeb51a4266ea11648ae2c2b80bc69019f57ce0cfcc5ecae/68747470733a2f2f706f7365722e707567782e6f72672f79757269792d736f726f6b696e2f64617461626173652d6578706f727465722d696d706f727465722f646f776e6c6f616473)](https://packagist.org/packages/yuriy-sorokin/database-exporter-importer)

The purpose of the package is to export/import certain data records from a database. Say, you have a bunch of related DB tables, which represent your user module. So, you want to copy a user with all the related information to another database, which already has tables created.

It is better to use a DI container to ease the usage of the package.

Exporting
=========

[](#exporting)

```
