kickenhio/laravel-sql-snapshot

Sync production-development Database helper library

v1.0.0-beta3 2023-01-16 10:29 UTC

This package is auto-updated.

Last update: 2025-06-16 15:52:18 UTC


README

Scrap production data and fill it on develop environent

This package generates SQL commands (MySQL syntax for now only) can be used to fill development enviroment with real (but anonymized) data.

It supports Laravel 7+ and PHP 7.4+

Installation

Require this package with composer using the following command:

composer require kickenhio/laravel-sql-snapshot

And then, for service registration purposes run command:

php artisan vendor:publish --provider="Kickenhio\LaravelSqlSnapshot\SnapshotServiceProvider"

Usage

This package allows to generate SQL snapshot for entrypoint models base on prepared manifest file. Additionaly can be used with another repository of mine - "Snapshot APP" - can be used among not technical QA employees. Also with encryption support, preserving data mining if API credentials compromised.

License

Didn't think about it.