PHPackages                             hihaho/laravel-ghost-database - 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. hihaho/laravel-ghost-database

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

hihaho/laravel-ghost-database
=============================

Easily import your existing database in a ghost database, which could be useful for UnitTesting or backups etc.

v0.1.3(6y ago)13.4kMITPHPPHP ^7.1

Since Jun 20Pushed 6y ago2 watchersCompare

[ Source](https://github.com/hihaho/laravel-ghost-database)[ Packagist](https://packagist.org/packages/hihaho/laravel-ghost-database)[ Docs](https://github.com/HiHaHo-Interactive-Video/laravel-ghost-database)[ RSS](/packages/hihaho-laravel-ghost-database/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (4)Dependencies (6)Versions (5)Used By (0)

Laravel Ghost Database
======================

[](#laravel-ghost-database)

Easily import your existing database in a ghost database, which could be useful for UnitTesting or backups etc.

⚠️ Package in development ⚠️
============================

[](#warning-package-in-development-warning)

This package is not yet stable, you can test it by installing it, but the package may be subject to large changes before a final release

📷 Photoware
===========

[](#camera-photoware)

This package is free to use, but inspired by [Spaties' Poscardware](https://spatie.be/en/opensource/postcards) we'd love to see where where this package is being developed. A photo of an important landmark in your area would be highly appreciated.

Our email address is

Installation
============

[](#installation)

Simply add the following line to your `composer.json` and run `composer update`

```
"hihaho/laravel-ghost-database": "v0.1.*"

```

Or use composer to add it with the following command

```
composer require hihaho/laravel-ghost-database
```

Laravel Auto-Discovery
----------------------

[](#laravel-auto-discovery)

This package is automatically discovered with Laravel Auto-Discovery, if you wish to register the package yourself you can add this package to your `composer.json` file:

```
"extra": {
    "laravel": {
        "dont-discover": [
            "hihaho/laravel-ghost-database"
        ]
    }
}

```

Usage
=====

[](#usage)

Three commands will be available with this package to easily export your current database to a "ghost" database.

- `php artisan ghost-db:export` - Exports your current DB to a SQL file
- `php artisan ghost-db:import` - Imports the last exported SQL file into the ghost DB
- `php artisan ghost-db:flush` - Flushes the ghost DB (also happens before an import)

Change log
==========

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Testing
=======

[](#testing)

```
$ composer test
```

Contributing
============

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Maintainers
===========

[](#maintainers)

- [Robert Boes](https://github.com/robertboes)

License
=======

[](#license)

MIT. Please see the [license file](license.md) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 63.6% 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 ~221 days

Total

4

Last Release

2218d ago

### Community

Maintainers

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

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

![](https://www.gravatar.com/avatar/22a778019ed141674d8080b3d7a8463ba476dec2e66d755590519f24f306b3f2?d=identicon)[Sander Muller](/maintainers/Sander%20Muller)

---

Top Contributors

[![RobertBoes](https://avatars.githubusercontent.com/u/2871897?v=4)](https://github.com/RobertBoes "RobertBoes (7 commits)")[![SanderMuller](https://avatars.githubusercontent.com/u/9074391?v=4)](https://github.com/SanderMuller "SanderMuller (4 commits)")

---

Tags

databaseghost-databaselaravelphplaravelGhostDatabase

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hihaho-laravel-ghost-database/health.svg)

```
[![Health](https://phpackages.com/badges/hihaho-laravel-ghost-database/health.svg)](https://phpackages.com/packages/hihaho-laravel-ghost-database)
```

###  Alternatives

[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[watson/validating

Eloquent model validating trait.

9723.3M47](/packages/watson-validating)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8703.0M17](/packages/yajra-laravel-oci8)[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)

PHPackages © 2026

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