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 3w ago

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

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

2064d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5813412?v=4)[Christophe](/maintainers/cdo9)[@cdo9](https://github.com/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.8k54.9M11.5k](/packages/illuminate-database)[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k8.4M94](/packages/mongodb-laravel-mongodb)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8793.2M25](/packages/yajra-laravel-oci8)[glushkovds/phpclickhouse-laravel

Adapter of the most popular library https://github.com/smi2/phpClickHouse to Laravel

2051.5M1](/packages/glushkovds-phpclickhouse-laravel)[lemaur/eloquent-publishing

218.1k1](/packages/lemaur-eloquent-publishing)[laravel-liberu/laravel-gedcom

A package that converts gedcom files to Eloquent models

782.5k1](/packages/laravel-liberu-laravel-gedcom)

PHPackages © 2026

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