承接 jaybizzle/laravel-migrations-organiser 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

jaybizzle/laravel-migrations-organiser

Composer 安装命令:

composer require jaybizzle/laravel-migrations-organiser

包简介

A Laravel package to help organise migration files.

README 文档

README

Total Downloads Tests

As projects grow, the number of migration files can quickly become unwieldy. This package automatically organises your migrations into yyyy/mm folders, making them easier to navigate.

database/migrations/2025/03/2025_03_26_000000_create_users_table.php

Version Compatibility

Laravel Package
5.3 - 6.x v4.*
7.x v5.*
8 - 10 v6.*
11 - 13 v7.*

Installation

composer require jaybizzle/laravel-migrations-organiser

The package uses Laravel's auto-discovery, so no manual service provider registration is needed.

Usage

This package hooks into the default artisan make:migration command. Just use it as you normally would and the package takes care of the rest.

Organise existing migrations

If you already have migrations in the base folder, run:

php artisan migrate:organise

This will move all existing migrations into the appropriate yyyy/mm folders.

Flatten migrations

To move all migrations back to the base migrations folder:

php artisan migrate:flatten

Add --force to delete leftover subdirectories without confirmation.

migrate:disorganise is still available as an alias for backward compatibility.

统计信息

  • 总下载量: 409.2k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 116
  • 点击次数: 21
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 113
  • Watchers: 5
  • Forks: 18
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-03-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固