LaravelPackages.net
Acme Inc.
Toggle sidebar
carma/migration-checker

This package will add into the moonshine admin panel a new menu item 'Migration checker' for checking all migrations

7
0
1.0.0
About carma/migration-checker

carma/migration-checker is a Laravel package for this package will add into the moonshine admin panel a new menu item 'migration checker' for checking all migrations. It currently has 0 GitHub stars and 7 downloads on Packagist (latest version 1.0.0). Install it with composer require carma/migration-checker. Discover more Laravel packages by carma or browse all Laravel packages to compare alternatives.

Last updated

Carma Migration Checker

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.
Comments