PHPackages                             alializade/laravel-masked-db-dump - 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. alializade/laravel-masked-db-dump

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

alializade/laravel-masked-db-dump
=================================

Dump masked information from your database

1.0.10(2y ago)04.3kMITPHPPHP ^8.0

Since Mar 29Pushed 2y agoCompare

[ Source](https://github.com/alializade/laravel-masked-db-dump)[ Packagist](https://packagist.org/packages/alializade/laravel-masked-db-dump)[ Docs](https://github.com/alializade/laravel-masked-db-dump)[ RSS](/packages/alializade-laravel-masked-db-dump/feed)WikiDiscussions main Synced yesterday

READMEChangelog (4)Dependencies (7)Versions (9)Used By (0)

Laravel Masked DB Dump
======================

[](#laravel-masked-db-dump)

This package is a fork of [masked-db-dump](https://github.com/beyondcode/laravel-masked-db-dump), A database dumping package that allows you to replace and mask columns while dumping your database.

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

[](#installation)

You can install the package via composer:

```
composer require alializade/laravel-masked-db-dump
```

Usage
-----

[](#usage)

Use this dump schema definition to remove, replace or mask certain parts of your database tables.

```
use AliAlizade\LaravelMaskedDumper\DumpSchema;
use AliAlizade\LaravelMaskedDumper\TableDefinitions\TableDefinition;
use Faker\Generator as Faker;

class CoreServiceProvider extends ServiceProvider
{
    // ...
    public function boot(): void
    {
        //...

        $this->app->singleton('masked_dump_default', function () {
            return DumpSchema::define('mysql')
                ->allTables()
                ->table('users', function (TableDefinition $table) {
                    $table->replace('name', function (Faker $faker) {
                        return $faker->name;
                    });
                    $table->replace('email', function (Faker $faker) {
                        return $faker->lastName().'@fake.com';
                    });
                    $table->replace('password', function (Faker $faker) {
                        return $password = bcrypt('secret');
                    });
                })
                ->schemaOnly('personal_access_tokens')
        });
        // ...
}
```

```
$ php artisan db:masked-dump output.sql

$ php artisan db:masked-dump output.sql --gzip

```

Documentation
-------------

[](#documentation)

The documentation can be found on [the website](https://beyondco.de/docs/laravel-masked-db-dump).

### Security

[](#security)

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

License
-------

[](#license)

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

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~44 days

Total

8

Last Release

1012d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/55bba89d898ccc18bd7c5360a2353c60023ad2fd4466470d1a2078620e80026f?d=identicon)[alializade](/maintainers/alializade)

---

Top Contributors

[![mpociot](https://avatars.githubusercontent.com/u/804684?v=4)](https://github.com/mpociot "mpociot (8 commits)")[![alializade](https://avatars.githubusercontent.com/u/77379718?v=4)](https://github.com/alializade "alializade (6 commits)")[![mokhosh](https://avatars.githubusercontent.com/u/6499685?v=4)](https://github.com/mokhosh "mokhosh (3 commits)")[![PovilasKorop](https://avatars.githubusercontent.com/u/1510147?v=4)](https://github.com/PovilasKorop "PovilasKorop (1 commits)")

---

Tags

laravel-masked-db-dump

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/alializade-laravel-masked-db-dump/health.svg)

```
[![Health](https://phpackages.com/badges/alializade-laravel-masked-db-dump/health.svg)](https://phpackages.com/packages/alializade-laravel-masked-db-dump)
```

###  Alternatives

[laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

8465.5M96](/packages/laravel-doctrine-orm)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M200](/packages/laravel-ai)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

725173.2k14](/packages/tallstackui-tallstackui)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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