carma / migration-checker
This package will add into the moonshine admin panel a new menu item 'Migration checker' for checking all migrations
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/carma/migration-checker
Requires
- php: ^8.3
- laravel/framework: ^11.0
- laravel/pint: ^1.16
- moonshine/moonshine: ^2.10
- spatie/laravel-permission: *
- symfony/finder: ^7.0
This package is not auto-updated.
Last update: 2025-10-18 18:55:48 UTC
README
This package will add a new menu item "Migration checker" to the Moonshine admin panel.
Installation
You can install the package via composer:
composer require carma/migration-checker
Usage
After installing and configuring the package, you will see a new menu item 'Migration Checker' in your Moonshine admin panel. This will allow you to:
- View all migrations in your system
- Check the status of each migration (Ran/Pending)
- Update and delete migrations as needed
MigrationService
The main service provided by this package is the MigrationService which includes methods to fetch and update migrations.
Methods:
updateAllMigrations(): This method updates the list of all migrations in the system.getAllMigrationsFromSystem(): This protected method retrieves all migration files from the system.