laravel-checkpoint maintained by kamellion-dev
Description
Simple Laravel development checkpoints for databases and local filesystem disks.
Last update
2026/06/14 23:35
(dev-main)
License
Downloads
0
Tags
laravel-checkpoint
Simple Laravel development checkpoints for your database and local storage disks.
Quick start
Install the package:
composer require kamellion-dev/laravel-checkpoint
Laravel will auto-discover the service provider, so the commands become available immediately:
php artisan checkpoint:save
php artisan checkpoint:load
Saved checkpoints are stored in the project's .dev-checkpoint folder.
Load a specific checkpoint folder by name:
php artisan checkpoint:load --name=your_checkpoint_folder
Load a checkpoint and re-run migrations when needed:
php artisan checkpoint:load --migrate
Clear all saved checkpoints:
php artisan checkpoint:clear
Package structure
This package keeps its classes inside src/ and registers them through a service provider instead of copying files into the host application's app/ directory.
src/commands/CheckpointSave.phpsrc/commands/CheckpointLoad.phpsrc/commands/CheckpointClear.phpsrc/services/DatabaseCheckpointService.phpsrc/LaravelCheckpointServiceProvider.php
To the consuming Laravel app, the commands behave like native Artisan commands without physically adding files under app/Console/Commands or app/Services.
Packagist publish checklist
- Push this repository to GitHub at
https://github.com/Kamellion-Dev/laravel-checkpoint. - Create a Packagist account and submit the repository URL.
- Make sure the default branch contains this
composer.jsonand the package source. - Tag a release, for example
v1.0.0, then push the tag:
git tag v1.0.0
git push origin main --tags
- On Packagist, click
Updateor enable the GitHub hook so new tags are indexed automatically.
Notes
- Composer package names must be lowercase, so the package name is
kamellion-dev/laravel-checkpoint. - Auto-discovery is enabled through the
extra.laravel.providerssection incomposer.json. - No publish step is required because the commands and service are resolved directly from the package.