sextanet/laravel-database-copy
Laravel Database Copy by SextaNet provides Artisan commands for copying database contents between Laravel connections, making it easier to refresh development or staging environments with configurable table selection and repeatable, safe data transfers.
config/database.php. In 1.0.1, set the anonymization connection explicitly rather than relying on the default connection.users, anonymize email/name, run the package’s copy command, then query the target to verify no original values remain.php artisan list for the exact copy command signature and available options. 1.0.1 is an additive release focused on making the anonymization connection configurable; no breaking changes are apparent from the release note..env, not in committed config.1.0.1 behavior is useful when anonymization should run through a dedicated connection rather than whatever Laravel’s default connection happens to be. Make sure that connection points at the database containing the copied rows.php artisan config:clear or php artisan config:cache as appropriate. Stale config is a common source of “it anonymized the wrong database” bugs.1.0.1, a missing or misconfigured anonymization connection can cause rules to run against the wrong database or fail because tables are absent. Log or assert DB::connection($name)->getDatabaseName() before running.How can I help you explore Laravel packages today?