PHPackages                             elimuswift/db-exporter - 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. elimuswift/db-exporter

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

elimuswift/db-exporter
======================

Export your database quickly and easily as a Laravel Migration and all the data as a Seeder class.

v1.2.5(7y ago)364.7k8[1 issues](https://github.com/Elimuswift/db-exporter/issues)[1 PRs](https://github.com/Elimuswift/db-exporter/pulls)MITPHPPHP &gt;=5.5.9

Since Dec 7Pushed 4y ago3 watchersCompare

[ Source](https://github.com/Elimuswift/db-exporter)[ Packagist](https://packagist.org/packages/elimuswift/db-exporter)[ RSS](/packages/elimuswift-db-exporter/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (19)Used By (0)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/97f6c07c536896151c7d3879570de7c2bc5519b174f2540e96bbcee97f3fcf5d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f456c696d7573776966742f64622d6578706f727465722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Elimuswift/db-exporter/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/d04d784f2a2dc6b0b87e9a155d0dfd11cfbc812fcc84ec84431affc21b468267/68747470733a2f2f706f7365722e707567782e6f72672f656c696d7573776966742f64622d6578706f727465722f762f737461626c652e737667)](https://packagist.org/packages/elimuswift/db-exporter) [![Total Downloads](https://camo.githubusercontent.com/e81bc1dc70012d2b2b06ad7fecae16d7610885abfcfff41bd0f42268b86185e5/68747470733a2f2f706f7365722e707567782e6f72672f656c696d7573776966742f64622d6578706f727465722f642f746f74616c)](https://packagist.org/packages/elimuswift/db-exporter) [![Latest Unstable Version](https://camo.githubusercontent.com/1b8a8b2fe9568386077ddf1176fc9de5f0c81a50bcebd9fae8b26fb06fa2e3df/68747470733a2f2f706f7365722e707567782e6f72672f656c696d7573776966742f64622d6578706f727465722f762f756e737461626c652e737667)](https://packagist.org/packages/elimuswift/db-exporter) [![License](https://camo.githubusercontent.com/d42364dffc4316a4c4f7282b9589fac04b779f458a17127de15f80d09f917b4d/68747470733a2f2f706f7365722e707567782e6f72672f656c696d7573776966742f64622d6578706f727465722f6c6963656e73652e737667)](https://packagist.org/packages/elimuswift/db-exporter)

Database Exporter
=================

[](#database-exporter)

Export your database quickly and easily as a Laravel Migration and all the data as a Seeder class. This can be done via artisan commands or a controller action.

Please note that I've only tested this package on a **MySQL** database. It has been confirmed it does not work with Postgres

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

[](#installation)

Add `"elimuswift/db-exporter"`\* as a requirement to `composer.json`:

```
{
    "require": {
        "elimuswift/db-exporter": "*"
    },
}
```

Update composer:

```
php composer.phar update

```

For laravel `
