carma/migration-checker
最新稳定版本:1.0.0
Composer 安装命令:
composer require carma/migration-checker
包简介
This package will add into the moonshine admin panel a new menu item 'Migration checker' for checking all migrations
README 文档
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.
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-07-12