PHPackages                             fndmiranda/data-migration - 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. fndmiranda/data-migration

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

fndmiranda/data-migration
=========================

Synchronize and migrate data between the application and the database

1.4.6(6y ago)354203MITPHPPHP &gt;=7.0.0

Since May 17Pushed 6y ago2 watchersCompare

[ Source](https://github.com/fndmiranda/data-migration)[ Packagist](https://packagist.org/packages/fndmiranda/data-migration)[ RSS](/packages/fndmiranda-data-migration/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (3)Versions (23)Used By (0)

Data Migration
==============

[](#data-migration)

[![](https://camo.githubusercontent.com/f2cc441457464becf96d06e7b4dd0ca71875b221dc92164a8afe4248ed9d53a2/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f666e646d6972616e64612f646174612d6d6967726174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/fndmiranda/data-migration)[![Total Downloads](https://camo.githubusercontent.com/257511d1eb96332fe48ba62019efe16b7b1a9203c4b990a86fe7ba681ea7aaf9/68747470733a2f2f706f7365722e707567782e6f72672f666e646d6972616e64612f646174612d6d6967726174696f6e2f642f746f74616c2e737667)](https://packagist.org/packages/fndmiranda/data-migration)[![Latest Stable Version](https://camo.githubusercontent.com/08e75f83aca41c3742e6df76be9e3ec2c1d410b584ebdf9ba82666d14e9fec18/68747470733a2f2f706f7365722e707567782e6f72672f666e646d6972616e64612f646174612d6d6967726174696f6e2f762f737461626c652e737667)](https://packagist.org/packages/fndmiranda/data-migration)[![License](https://camo.githubusercontent.com/44824114f8a2325d06dd0b97386122db6fc840f42c7038457fd7c6b9ccdbf45b/68747470733a2f2f706f7365722e707567782e6f72672f666e646d6972616e64612f646174612d6d6967726174696f6e2f6c6963656e73652e737667)](https://packagist.org/packages/fndmiranda/data-migration)

Data migrations from Laravel
============================

[](#data-migrations-from-laravel)

This package simplifies the migration and synchronization of data between the application and the database, allowing you to control for example settings or permissions lists. Provides resources to view the status and changes not yet made, migrate and synchronize the data.

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

[](#installation)

```
composer require fndmiranda/data-migration

```

Usage
-----

[](#usage)

You may generate an data migration of the `data-migration:make` Artisan command:

```
php artisan data-migration:make PermissionDataMigration

```

This command will generate a data migration at `app/DataMigrations/PermissionDataMigration.php`. The data migration will contain the `model`, `data`, and `options` methods.

```
