sergefenix/laravel-db-masked-dump
Dump masked information from your database
2,659
2
| Install | |
|---|---|
composer require sergefenix/laravel-db-masked-dump |
|
| Latest Version: | 3.0.0 |
| PHP: | ^7.4|^8.0|^8.1 |
| Laravel: | 7 · 8 · 9 |
| License: | MIT |
| Last Updated: | Mar 30, 2022 |
| Links: | GitHub · Packagist |
Maintainer: sergefenix
Laravel DB Masked Dump
A database dumping package that allows you to replace and mask columns while dumping your database.
You can :
- Replace
$table->replace();
- Ignore ids
$table->ignore();
$table->isIgnored();
- Mask
$table->mask();
- Create rule for replace
$table->replaceWhen();
- Get schema or full dump
$table->schemaOnly();
- Set priority tables for dump
$shema->priorityTables();
- Disable constrain for table
$table->disableConstrain();
$shema->disableAllConstrains();
- More
modifyQuery()
fullDump()
schemaOnly()
shouldDumpData()
Installation
You can install the package via composer v2:
composer require sergefenix/laravel-db-masked-dump
Commands
php artisan vendor:publish --provider=FenixDumper\\LaravelMaskedDumper\\LaravelMaskedDumpServiceProvider
php artisan db:masked-dump output.sql
php artisan db:masked-dump output.sql --definition=sqlite
php artisan db:masked-dump output.sql --gzip
Credits
License
The MIT License (MIT). Please see License File for more information.
Related Packages
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
644,549,754
9,698
laravel/serializable-closure
Laravel Serializable Closure provides an easy and secure way to serialize closur...
423,477,751
607
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 3.0.0 | ^7.4| | ^7.0| | MIT | |
| 1.3 | ^7.4| | ^7.0| | MIT | |
| 1.2.2 | ^7.4| | ^7.0| | MIT | |
| 1.2.1 | ^7.4| | ^7.0| | MIT | |
| 1.2 | ^7.4| | ^7.0| | MIT | |
| 1.1.2 | ^7.4| | ^7.0| | MIT | |
| 1.1.1 | ^7.4| | ^7.0| | MIT | |
| 1.1 | ^7.4| | ^7.0| | MIT |