PHPackages                             helloarman/dumptable - 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. helloarman/dumptable

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

helloarman/dumptable
====================

This Laravel package updates migration files during development without data loss, allowing seamless modification of table columns while preserving existing records. Ideal for maintaining data integrity during iterative development.

1.4.20(2y ago)1155MITPHP

Since Jun 26Pushed 2y ago1 watchersCompare

[ Source](https://github.com/helloarman/dumptable)[ Packagist](https://packagist.org/packages/helloarman/dumptable)[ RSS](/packages/helloarman-dumptable/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (8)DependenciesVersions (11)Used By (0)

DumpTable
=========

[](#dumptable)

The Laravel Migration Updater package is a development tool designed to streamline the process of updating migration files without losing existing table data. This package is particularly useful for developers who need to modify table columns during development while preserving the integrity of the data already present.

### Full Documentation:

[](#full-documentation-httpshelloarmangithubiodumptable)

Package For
-----------

[](#package-for)

- Laravel

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

[](#installation)

Goto your laravel Project and Run -

```
  $ composer require helloarman/dumptable
```

Link storage folder

```
  $ php artisan storage:link
```

Explantation
------------

[](#explantation)

In Laravel, updating a migration typically requires altering the entire table, which can result in the loss of data in other tables. This can be problematic if you have valuable data stored in those tables. This package allows you to update a single migration file for a specific table without affecting data in other tables, ensuring data integrity across your database.

Migrate without hamper any other table - table:dump
---------------------------------------------------

[](#migrate-without-hamper-any-other-table---tabledump)

With this command, you can update a specific migration file without affecting the data in other tables. Simply ensure that you correctly specify your table name.

```
  $ php artisan table:dump {table_name}
```

add -s or --seed flag for migrate with seed file
------------------------------------------------

[](#add--s-or---seed-flag-for-migrate-with-seed-file)

With this command, you can migrate data with seeding.

```
  $ php artisan table:dump {table_name} --seed
```

or

```
  $ php artisan table:dump {table_name} --s
```

Note: Name your seeder file with this convention: ModelNameSeeder.php

add -r or --restore flag for migrate with seed file
---------------------------------------------------

[](#add--r-or---restore-flag-for-migrate-with-seed-file)

This is the magical one. with this you can update migration file without affecting the data in that table. It will store the data on that table as it is and update the migration column to the table only.

```
  $ php artisan table:dump {table_name} --restore
```

or

```
  $ php artisan table:dump {table_name} --r
```

backup any table into sql file
------------------------------

[](#backup-any-table-into-sql-file)

You can backup any table into a sql file with this command.

```
  $ php artisan table:backup {table_name}
```

restore any table into sql file
-------------------------------

[](#restore-any-table-into-sql-file)

This command is linked with the backup command. You can restore that backups table in a sql file with this command.

```
  $ php artisan table:restore {table_name}
```

Fresh and Seed Data
-------------------

[](#fresh-and-seed-data)

This command seeds data into the specified table, deleting previous data. It is useful for resetting table data during development.

```
  $ Align Additional Migration File
```

Fresh and Seed Data
-------------------

[](#fresh-and-seed-data-1)

This command simplifies the process of updating a migration file in a production environment. Instead of creating a new migration file with the current date, it aligns the new file immediately after the main migration file for the table. This makes it easier to find and manage migration files, keeping the structure well-organized.

```
  $ php artisan table:col {type} {column_name} {table}
```

Badges
------

[](#badges)

[![MIT License](https://camo.githubusercontent.com/784362b26e4b3546254f1893e778ba64616e362bd6ac791991d2c9e880a3a64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)](https://choosealicense.com/licenses/mit/)

[![MIT License](https://camo.githubusercontent.com/638b50c9abe6ab4d8fe5e085a402aa00753052b6faf0459650c0d8d8347cc83d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f68656c6c6f61726d616e2f76617264756d70)](https://github.com/helloarman)

[![MIT License](https://camo.githubusercontent.com/7607f3b0b6d13665c49bdd24a455e22619949c8eaabcd03f262219a5eaa579f6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d5061636b6167652d726564)](https://laravel.com)

Feedback
--------

[](#feedback)

As this is the first release, There might be some improvement. If you need any addon or modification then do not hesitate to mention me. Contact me on -

-

Authors
-------

[](#authors)

- Arman Rahman ( [@helloarman](https://www.github.com/helloarman) )

###  Health Score

24

—

LowBetter than 30% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~5 days

Total

9

Last Release

732d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/66985321?v=4)[Arman Rahman](/maintainers/helloarman)[@helloarman](https://github.com/helloarman)

---

Top Contributors

[![helloarman](https://avatars.githubusercontent.com/u/66985321?v=4)](https://github.com/helloarman "helloarman (25 commits)")

---

Tags

armanarmanrahmanbangladeshdocumentationdumptablehelloarmanlaravellaravelhelloarmandumptable

### Embed Badge

![Health badge](/badges/helloarman-dumptable/health.svg)

```
[![Health](https://phpackages.com/badges/helloarman-dumptable/health.svg)](https://phpackages.com/packages/helloarman-dumptable)
```

###  Alternatives

[rtconner/laravel-likeable

Trait for Laravel Eloquent models to allow easy implementation of a 'like' or 'favorite' or 'remember' feature.

392399.0k5](/packages/rtconner-laravel-likeable)[highsolutions/eloquent-sequence

A Laravel package for easy creation and management sequence support for Eloquent models with elastic configuration.

121139.4k](/packages/highsolutions-eloquent-sequence)[cybercog/laravel-nova-ban

A Laravel Nova banning functionality for your application.

42208.1k](/packages/cybercog-laravel-nova-ban)[cubettech/lacassa

Cassandra based query builder for laravel.

358.6k](/packages/cubettech-lacassa)[phaza/single-table-inheritance

Single Table Inheritance Trait

1515.8k](/packages/phaza-single-table-inheritance)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
