PHPackages                             mikefunk/db-drop-tables - 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. [CLI &amp; Console](/categories/cli)
4. /
5. mikefunk/db-drop-tables

ActiveLibrary[CLI &amp; Console](/categories/cli)

mikefunk/db-drop-tables
=======================

A laravel command to drop all mysql database tables

11.2kPHP

Since Oct 4Pushed 11y agoCompare

[ Source](https://github.com/mikedfunk/db-drop-tables)[ Packagist](https://packagist.org/packages/mikefunk/db-drop-tables)[ RSS](/packages/mikefunk-db-drop-tables/feed)WikiDiscussions develop Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

db-drop-tables
==============

[](#db-drop-tables)

[![Build Status](https://camo.githubusercontent.com/f2626b8dc9f613a00b8ba81060230ae9d1f663427e2cf0909896babe08f24e5d/68747470733a2f2f7472617669732d63692e6f72672f6d696b656466756e6b2f64622d64726f702d7461626c65732e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/mikedfunk/db-drop-tables)

In development, schema can be constantly changing. You don't want to have to add a migration file for every single column modification/addition/removal, do you? So just run this, then artisan migrate, then artisan db:seed. Or wrap those up in a phing command (or another artisan command) and do them in one shot.

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

[](#installation)

1. Install via [composer](http://getcomposer.org): `composer require --dev mikefunk/db-drop-tables:dev-master`
2. Add the service provider to your `app/config/app.php` in the `providers` area: `'MikeFunk\DbDropTables\DbDropTablesServiceProvider',`
3. This will *not* work until you add a connection for the `mysql_information_schema` database in `app/config/database.php`:

```
'mysql_information_schema' => array(
    'driver'    => 'mysql',
    'host'      => 'my_host_name'
    'database'  => 'INFORMATION_SCHEMA',
    'username'  => 'my_db_username'
    'password'  => 'my_db_password'
),
```

Usage
-----

[](#usage)

Call the command from within laravel with `php artisan db:drop-tables`. It will confirm that you want to drop all of your tables in your MySQL database. Want to skip the question and just do it? use `--no-interaction` or `-n`.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/661038?v=4)[Mike Funk](/maintainers/mikedfunk)[@mikedfunk](https://github.com/mikedfunk)

---

Top Contributors

[![mikedfunk](https://avatars.githubusercontent.com/u/661038?v=4)](https://github.com/mikedfunk "mikedfunk (7 commits)")

### Embed Badge

![Health badge](/badges/mikefunk-db-drop-tables/health.svg)

```
[![Health](https://phpackages.com/badges/mikefunk-db-drop-tables/health.svg)](https://phpackages.com/packages/mikefunk-db-drop-tables)
```

###  Alternatives

[illuminate/console

The Illuminate Console package.

13046.0M6.4k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

71470.5k9](/packages/styleci-cli)[winbox/args

Windows command-line formatter

20720.9k21](/packages/winbox-args)

PHPackages © 2026

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