erjanmx/laravel-migrate-check 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

erjanmx/laravel-migrate-check

最新稳定版本:v2.4.0

Composer 安装命令:

composer require erjanmx/laravel-migrate-check

包简介

A command to check for pending migrations. Exits with non-zero code if there are any

README 文档

README

An artisan command to check for pending migrations. Exits with non-zero code if there any.

Build Status

Laravel has a migrate:status command to check status of migrations. But this command mostly for humans. There are situations where one needs to know whether to run migrations when using autodeployment, maybe with switching to maintenance mode.

This package contains a migrate:check command that exits with non-zero code if there are any migrations to run.

Requirements

This command supports all database drivers that Laravel does.

Installation

You can install the package via composer:

composer require erjanmx/laravel-migrate-check

Thanks to Laravel 5.5 package auto-discovery the migrate:check command will be registered

Usage

php artisan migrate:сheck

You can specify database and path to migration file via options just like they are used in php artisan migrate command

ezgif com-gif-maker

Changelog

Please see CHANGELOG for more information what has changed recently.

Testing

In order for the test to be run you should set up an empty mysql database laravel_migrate_check . The username should be root, the required password should be empty.

$ composer test

Contributing

Please see CONTRIBUTING for details.

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 271.02k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 54
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 54
  • Watchers: 2
  • Forks: 11
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固