PHPackages                             suavy/database-reset-command-for-laravel - 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. suavy/database-reset-command-for-laravel

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

suavy/database-reset-command-for-laravel
========================================

1.2.0(5y ago)257MITPHPPHP ^7.1

Since Mar 26Pushed 5y ago1 watchersCompare

[ Source](https://github.com/suavy/database-reset-command-for-laravel)[ Packagist](https://packagist.org/packages/suavy/database-reset-command-for-laravel)[ Docs](https://github.com/suavy/database-reset-command-for-laravel)[ RSS](/packages/suavy-database-reset-command-for-laravel/feed)WikiDiscussions master Synced today

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

Database Reset Command for Laravel
==================================

[](#database-reset-command-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f6161a6e223dd1ab99cf0304ed3203be92820fbc35ee62fb3ef2dce517876c33/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73756176792f64617461626173652d72657365742d636f6d6d616e642d666f722d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/suavy/database-reset-command-for-laravel)[![Build Status](https://camo.githubusercontent.com/1899415942eccc7f8243b5316f29afa49d494d87bb091fc003a5666bba006a1d/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f73756176792f64617461626173652d72657365742d636f6d6d616e642d666f722d6c61726176656c2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/suavy/database-reset-command-for-laravel)[![Quality Score](https://camo.githubusercontent.com/8850e35673ca2286bfcbb6f946700698c28c8987532a9199950c99992ace2854/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f73756176792f64617461626173652d72657365742d636f6d6d616e642d666f722d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/suavy/database-reset-command-for-laravel)[![Total Downloads](https://camo.githubusercontent.com/b0adc5632109214ccaa4b68455eeefd552c49ca8995f149d71bae68d4d679cd8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73756176792f64617461626173652d72657365742d636f6d6d616e642d666f722d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/suavy/database-reset-command-for-laravel)[![StyleCI](https://camo.githubusercontent.com/c7f4b1b568ab7bdb64f16979b587c2e0f3182f5e560452ed04112ad2b0f51841/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3235303330363738362f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/250306786)

This package offer you a command that help you reset your database in few steps : dropping, creating, importing (optional), migrating, seeding (optional).

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

[](#installation)

You can install the package via composer:

```
composer require suavy/database-reset-command-for-laravel
```

Usage
-----

[](#usage)

```
php artisan db:reset
```

### Options

[](#options)

#### --force

[](#--force)

Launch with no warning and no production protection

```
php artisan db:reset --force
```

#### --import

[](#--import)

Import db.sql file located at root of your project (**be sure to not commit this file, add it to your .gitignore**)

```
php artisan db:reset --import
```

#### --seed

[](#--seed)

Launch seed at the end

```
php artisan db:reset --seed
```

Contributing
------------

[](#contributing)

Contributions are **welcome** and will be fully **credited**.

### Security

[](#security)

If you discover any security related issues, please email us instead of using the issue tracker.

Credits
-------

[](#credits)

- [Suavy](https://github.com/suavy)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

Recently: every ~52 days

Total

9

Last Release

2012d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ffd1d6768342609ec647d13b27f823c923454b83ec8967843d05bcdfd4427c4?d=identicon)[cdo9](/maintainers/cdo9)

---

Top Contributors

[![cdo9](https://avatars.githubusercontent.com/u/5813412?v=4)](https://github.com/cdo9 "cdo9 (24 commits)")

---

Tags

suavydatabase-reset-command-for-laravel

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/suavy-database-reset-command-for-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/suavy-database-reset-command-for-laravel/health.svg)](https://phpackages.com/packages/suavy-database-reset-command-for-laravel)
```

###  Alternatives

[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[cybercog/laravel-love

Make Laravel Eloquent models reactable with any type of emotions in a minutes!

1.2k302.7k1](/packages/cybercog-laravel-love)[cviebrock/eloquent-taggable

Easy ability to tag your Eloquent models in Laravel.

567694.8k3](/packages/cviebrock-eloquent-taggable)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[genealabs/laravel-pivot-events

This package introduces new eloquent events for sync(), attach(), detach() or updateExistingPivot() methods on BelongsToMany relation.

1404.9M8](/packages/genealabs-laravel-pivot-events)[reedware/laravel-relation-joins

Adds the ability to join on a relationship by name.

2121.2M13](/packages/reedware-laravel-relation-joins)

PHPackages © 2026

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