Download the PHP package hasinhayder/tyro-checkpoint without Composer

On this page you can find all versions of the php package hasinhayder/tyro-checkpoint. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package tyro-checkpoint

Tyro Checkpoint

Database checkpoints for Laravel local development. Snapshot your database and restore it instantly. Supports SQLite, MySQL, MariaDB, and PostgreSQL.

Local development only. Not for production.

Requirements

MySQL vs MariaDB is detected internally (the live server version when a connection is already open, otherwise the installed client tools), so the matching dump/restore binaries are selected automatically — no extra configuration is required. Laravel's native mariadb connection driver is supported and checkpoints stay in the mysql family. Override the paths with TYRO_CHECKPOINT_MARIADB_DUMP_BIN and TYRO_CHECKPOINT_MARIADB_BIN only when they live outside PATH.

Install

Commands

Command Description
tyro-checkpoint:create [name] [--encrypt] [--silent] Create a checkpoint
tyro-checkpoint:import {path} [name] [--note] [--driver] [--silent] Import an external snapshot as a flagged checkpoint
tyro-checkpoint:list [id\|name] List checkpoints (or view one)
tyro-checkpoint:details [id\|name] Show checkpoint details
tyro-checkpoint:restore [id\|name] Restore a checkpoint
tyro-checkpoint:delete [id\|name] Delete a checkpoint (alias: remove)
tyro-checkpoint:flush [--force] Delete all unlocked checkpoints
tyro-checkpoint:lock [id\|name] Lock (prevent deletion)
tyro-checkpoint:unlock [id\|name] Unlock
tyro-checkpoint:flag [id\|name] Flag for attention (🚩)
tyro-checkpoint:unflag [id\|name] Remove flag
tyro-checkpoint:add-note [id\|name] Add a note
tyro-checkpoint:encrypt [id\|name] Encrypt an existing checkpoint in place
tyro-checkpoint:generate-key Generate encryption key into .env
tyro-checkpoint:publish-config Publish config file
tyro-checkpoint:install Run setup
tyro-checkpoint:version Show version and system info

Restore is non-destructive to checkpoints — you can restore the same one many times.

Importing Snapshots

Import an existing SQLite database file or SQL dump without modifying the source file:

When no name is supplied, the command prompts for one. Leave it empty to generate a name automatically, or use --silent for non-interactive imports. Imported checkpoints are always flagged and can be encrypted afterward with tyro-checkpoint:encrypt.

The snapshot driver defaults to the active database connection. Use --driver=sqlite, --driver=mysql, or --driver=pgsql when importing a snapshot from another engine. MySQL and PostgreSQL dumps both use the .sql extension, so specify the driver when the active connection does not identify the dump's engine.

Auto-checkpoints

Snapshot automatically before risky commands (migrations, seeders, db:wipe).

Default watched commands: migrate, migrate:fresh, migrate:refresh, migrate:reset, migrate:rollback, db:seed, db:wipe.

Configuration

Publish with tyro-checkpoint:publish-config. Defaults:

Storage

Metadata lives in checkpoints.json, so restoring a snapshot never loses track of other checkpoints.

tyro-checkpoint:install automatically appends the checkpoint storage path to your project's .gitignore, so SQL dumps and encrypted *.enc sidecars are never committed accidentally.

Encryption

Encrypted checkpoints auto-decrypt on restore. Back up TYRO_CHECKPOINT_ENCRYPTION_KEY — losing it makes encrypted checkpoints unrestorable.

Notes

License

MIT — © Hasin Hayder


All versions of tyro-checkpoint with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^10.0 || ^11.0 || ^12.0 || ^13.0
illuminate/console Version ^10.0 || ^11.0 || ^12.0 || ^13.0
illuminate/database Version ^10.0 || ^11.0 || ^12.0 || ^13.0
symfony/process Version ^6.0 || ^7.0 || ^8.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package hasinhayder/tyro-checkpoint contains the following files

Loading the files please wait ...