PHPackages                             halpdesk/laravel-migration-commands - 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. halpdesk/laravel-migration-commands

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

halpdesk/laravel-migration-commands
===================================

Better commands for migrations when developing a Laravel project

0.9.2(6y ago)053PHPPHP ^7.2

Since Jul 12Pushed 6y agoCompare

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

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

Laravel Migration Commands
==========================

[](#laravel-migration-commands)

This package provides commands for migrating files in a Laravel project, which are useful at developing time.

By halpdesk, 2019-07-22

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

[](#installation)

Open **config/app.php** and insert the following into the *Package Service Providers* list:

`Halpdesk\LaravelMigrationCommands\LaravelServiceProvider::class,`

Then run `composer dump-autoload`

List of Commmands
-----------------

[](#list-of-commmands)

### Migrate all tables

[](#migrate-all-tables)

**`migrate:all`**

Rolls back all migration files and migrates them again

> To seed the database after migration is finished, use the `--seed` option.

### Migrate specific file

[](#migrate-specific-file)

**`migrate:specific --file=`** ``

Migrate one specific file. Does not take regard to order of migration files. The `--file` parameter is required and takes a full (absolute) path.

> To instead rollback the migration, use the the `--rollback` option.

### Drop all tables

[](#drop-all-tables)

**`migrate:dropall`**

Disables all foreign key constraints and drops all tables. This is useful when when a migration file is renamed or the order is changed during development. The user is not prompted with a choice to continue before proceeding as well as a count down which can be cancelled with CTRL+C.

> To escape the prompt and countdown, add the `--force` option.

### Re-seed database

[](#re-seed-database)

**`db:reseed`**

Disables all foreign key constriants, truncates all tables and seeds all tables

> To use another class instead of DatabaseSeeder, use the `class` option

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

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 ~53 days

Total

2

Last Release

2442d ago

PHP version history (2 changes)0.9.1PHP &gt;=7.2.4

0.9.2PHP ^7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/f85b4591e6f2c763350e0712dac15f91428c4bd8f364b7ec91560d05d335ccf0?d=identicon)[halpdesk](/maintainers/halpdesk)

---

Top Contributors

[![halpdesk](https://avatars.githubusercontent.com/u/1046566?v=4)](https://github.com/halpdesk "halpdesk (22 commits)")

---

Tags

laravelmigrationdatabasetablemigratehalpdesk

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/halpdesk-laravel-migration-commands/health.svg)

```
[![Health](https://phpackages.com/badges/halpdesk-laravel-migration-commands/health.svg)](https://phpackages.com/packages/halpdesk-laravel-migration-commands)
```

###  Alternatives

[awssat/laravel-sync-migration

Laravel tool helps to sync migrations without refreshing the database

10923.2k](/packages/awssat-laravel-sync-migration)[maxim-oleinik/blade-migrations-laravel

An intelligent alternative version of Laravel Database Migrations - uses raw-sql syntax, transactions, auto-rollback, UP-DOWN-UP testing

242.3k](/packages/maxim-oleinik-blade-migrations-laravel)

PHPackages © 2026

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