made with Laravel

Schema Lens

Preview & Diff Migration Files

Visit Site

Description

Preview & Diff Migration Files

"Schema Lens is a Laravel package that extends the default Artisan CLI with commands to preview a single migration file against the current MySQL schema before execution.

It provides comprehensive schema diff analysis, destructive change detection, automatic data export, and rollback simulation.

The tool can automatically export affected data (e.g., to CSV/JSON) when destructive changes are found and even simulate rollbacks to show what reversing a migration would do. It maps database changes back to specific lines in the migration file and offers SQL/JSON previews for integration with CI/CD workflows.

Overall, it’s designed to give developers confidence and control when applying schema changes."


Creator

Zaeem Ansari
@zaeemansari87


Social Media Links

Tinkerwell Rapid Prototyping Tool for PHP & Laravel
icon-eye-dark Created with Sketch. 3.207
Laravel N+1 Query Detector Real-time Detection & Resolution of N+1 Query Issues
icon-eye-dark Created with Sketch. 1.026
Sentry for Laravel Laravel Application Monitoring
❤️ Sponsored by Friends
Random Generate Cryptographically Secure Random Values
icon-eye-dark Created with Sketch. 579
Laranode Open-Source Alternative to cPanel/Plesk
icon-eye-dark Created with Sketch. 1.113
Browser Detect Laravel Browser Detection
icon-eye-dark Created with Sketch. 4.255