Snapshot Created

state_before_migration.sqlite

State Restored

Successfully reverted to 'golden_baseline'

Version Control for
SQLite Database

Tyro Checkpoint lets you snapshot, restore, and manage your database state instantly. Run migrations, experiment freely, and recover from mistakes instantly.

Install Checkpoint
composer require hasinhayder/tyro-checkpoint --dev

Built for Laravel

Golden Baselines
Instant Recovery
Full History
WHY TYRO CHECKPOINT

The Problem

During Laravel development, you constantly test features, experiment with data changes, and debug database-related issues. Every time something breaks or you need to switch contexts, you're faced with the same tedious cycle:

  • Dropping and recreating the database
  • Re-running migrations
  • Re-seeding data - often the most time-consuming part

This repetitive workflow kills productivity and interrupts your development flow. What you need is a way to save clean database states and restore them instantly, without the overhead.

BEFORE
  • Drop database
  • Run migrations
  • Seed data (slow)
  • Repeat every time
AFTER
  • Create checkpoint once
  • Restore instantly
  • Keep coding
Use Cases

Built for Real Life Scenarios

Eliminate database anxiety. Tyro Checkpoint grants you instant recovery,
repeatable environments, and absolute command over your data.

01

Feature Development

Build complex features without fear. Take a snapshot before implementing risky logic, migrations, or seeders, and instantly restore if something breaks.

02

Quick Sandbox

Maintain clean demo environments by restoring a database snapshot automatically. Perfect for SaaS demos and test sandboxes.

03

Migration Testing

Test schema changes safely. Run destructive migrations, verify results, and instantly revert to the previous state if anything behaves unexpectedly.

04

Team Development

Share standard database states across your team. Ensure everyone develops against consistent, known-good data to avoid local discrepancies.

05

Performance Benchmarking

Switch between small, medium, and massive datasets to test how your application behaves. Keep multiple versions of your data ready for instant swapping.

06

Data Reset

Reset DB instantly between tests without slow seeders. Ensure a clean slate for automated testing and CI/CD pipelines effortlessly.

07

Live Demos

Safely modify data during live sessions. Confidently showcase features without worrying about ruining your pristine presentation dataset.

The Manifest

Powerful Features.

Checkpoint eliminates the fear of data modification
by giving you a reliable safety net for your development database.

01

Instant Snapshots

Capture the exact state of your database before running risky migrations or destructive seeders. Fast, lightweight, and instantly restorable.

02

Migration Safety

Run migrations with complete confidence. If anything breaks, simply restore to instantly return to the exact state before the migration began.

03

Golden Baselines

Establish trusted, known-good states for your application. Share baselines with your team so everyone starts from the same production-like dataset.

04

Git-Like Workflow

Use create to snapshot and restore to revert. The list command gives you a complete timeline of your database history.

05

Lock Protection

Protect important checkpoints from accidental deletion with the lock feature. Your critical states stay safe.

06

Descriptive Notes

Attach meaningful notes to checkpoints so you always remember what each state represents.

07

AES-256 Encryption

Secure your snapshots with industry-grade encryption. Protect sensitive data and safely share baselines without compromising privacy.

08

Zero Configuration

Built specifically for SQLite workflows. Checkpoint automatically detects your database paths and starts protecting your data without any configuration or boilerplate.

09

Flexible Config

Configure custom storage paths and behavior through environment variables or published config files.

Database Timeline

Snapshot & Restore
in One Command

Manage your data lifecycle through an intuitive CLI that feels like Git for your database.

01

Capture State

Use php artisan tyro-checkpoint:create "added new products" to save your current data state with a descriptive label.

02

Establish Baseline

Mark a snapshot as your "Golden Baseline" by using a clear name, making it the default starting point for fresh installs.

03

Instant Rollback

Messed up your data? php artisan tyro-checkpoint:restore "label" brings your entire database back to life instantly.

Terminal
$ php artisan tyro-checkpoint:list
	
+-------------------+---------------------+
| Name              | Created At          |
+-------------------+---------------------+
| golden_baseline   | 2026-02-20 10:00:15 |
| pre_migration_v4  | 2026-02-21 14:22:11 |
| user_test_state   | 2026-02-22 09:12:44 |
+-------------------+---------------------+

$ php artisan tyro-checkpoint:restore pre_migration_v4
✓ Database state successfully restored.
WHY ENCRYPTION MATTERS

Better Security

When working with local development databases, developers often use production-like data or sensitive PII (Personally Identifiable Information). Without encryption, every snapshot is a potential security risk if shared or stored insecurely.

  • Exposed user data
  • Compliance violations
  • Unsafe sharing across teams

Tyro Checkpoint's AES-256 encryption ensures your data remains safe, even if snapshots are shared.

BEFORE (UNENCRYPTED)
  • Plain SQLite files
  • Readable by anyone
  • High risk of data leaks
AFTER (ENCRYPTED)
  • AES-256-CBC Encryption
  • Requires decryption key
  • Safe to store and share
Setup

Live in Seconds.

Tyro Checkpoint is highly focused and performs one job perfectly. Install it as a dev dependency and start snapshotting.

bash
# Step 1: Install via Composer
$ composer require hasinhayder/tyro-checkpoint --dev

# Step 2: Initialize Checkpoint
$ php artisan tyro-checkpoint:install

# Step 3: Create your first snapshot
$ php artisan tyro-checkpoint:create

✓ Success: Checkpoint successfully created!

Develop with
Absolute Confidence.

Never fear a broken local database again. Tyro Checkpoint provides instant snapshots, effortless restore points, and a seamless developer experience.