PHPackages                             boxed-code/laravel-schema-refresh - 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. boxed-code/laravel-schema-refresh

AbandonedArchivedLibrary

boxed-code/laravel-schema-refresh
=================================

Refresh your DB schema (by re-running your migrations) without loosing data

0412PHP

Since Sep 14Pushed 7y ago1 watchersCompare

[ Source](https://github.com/boxed-code/laravel-schema-refresh)[ Packagist](https://packagist.org/packages/boxed-code/laravel-schema-refresh)[ RSS](/packages/boxed-code-laravel-schema-refresh/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Schema Refresh
======================

[](#laravel-schema-refresh)

*Supports SQLite databases only for the moment*

This package will allow you to re-run all of your `migrations` without loosing all of your data.

The `php artisan db:refresh` command will:

- backup the current database
- create a new database
- run all of the migrations
- copy the data from the old database to new

Caveats
-------

[](#caveats)

If you make breaking changes to your schema, for instance add a new column to a table without a default value, the refresh will fail for the obvious reasons.

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

[](#installation)

Install via composer:

```
composer require boxed-code/laravel-schema-refresh

```

Misc
----

[](#misc)

Pull requests welcome 😀. License MIT.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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://www.gravatar.com/avatar/c7480518d69b3d7e1f985e9f8b7f5aaf43f4cdeac87bda4eeb832c75f21f0d27?d=identicon)[olsgreen](/maintainers/olsgreen)

---

Top Contributors

[![olsgreen](https://avatars.githubusercontent.com/u/1324164?v=4)](https://github.com/olsgreen "olsgreen (5 commits)")

---

Tags

laravellaravel-frameworklaravel-migration

### Embed Badge

![Health badge](/badges/boxed-code-laravel-schema-refresh/health.svg)

```
[![Health](https://phpackages.com/badges/boxed-code-laravel-schema-refresh/health.svg)](https://phpackages.com/packages/boxed-code-laravel-schema-refresh)
```

PHPackages © 2026

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