Download the PHP package webhubworks/laravel-secure-db-dump without Composer
On this page you can find all versions of the php package webhubworks/laravel-secure-db-dump. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download webhubworks/laravel-secure-db-dump
More information about webhubworks/laravel-secure-db-dump
Files in webhubworks/laravel-secure-db-dump
Package laravel-secure-db-dump
Short Description Allows you to dump your db and anonymize its content.
License MIT
Homepage https://github.com/webhubworks/secure-db-dump
Informations about the package laravel-secure-db-dump
Config
Publish the config file via artisan vendor:publish --tag=secure-db-dump-config
.
Anonymize fields
This package uses Faker to anonymize fields. You can find the available formatters/methods here: https://fakerphp.org/formatters/
Per field you want to anonymize you have to define the field
and a type
. Possible values are: faker
or static
.
Type: static
You will need to provide a value
for the field.
Type: faker
You will need to provide a method
and optionally args
(an array) for the Faker method.
Examples
DDEV
In case you get a permission error when trying to CREATE or DROP a database, do the following in the laravel project:
All versions of laravel-secure-db-dump with dependencies
fakerphp/faker Version ^1.24
illuminate/contracts Version ^10.0||^11.0||^12.0
spatie/db-dumper Version ^3.8
spatie/laravel-package-tools Version ^1.16