All Projects → JayBizzle → Laravel Migrations Organiser

JayBizzle / Laravel Migrations Organiser

Licence: mit
A Laravel package to help organise migrations

Projects that are alternatives of or similar to Laravel Migrations Organiser

Snipe Migrations
Blazing fast database migrations for Laravel tests.
Stars: ✭ 275 (+186.46%)
Mutual labels:  migrations, laravel
Request Migrations
HTTP Request Migrations for API Versioning like Stripe
Stars: ✭ 149 (+55.21%)
Mutual labels:  migrations, laravel
Laravel Relationships Data
Migrations, seeders and factories to get up and running with various relationship types data quickly
Stars: ✭ 27 (-71.87%)
Mutual labels:  migrations, laravel
Laravel Migrate Fresh
An artisan command to build up a database from scratch
Stars: ✭ 179 (+86.46%)
Mutual labels:  migrations, laravel
Laravel Smart
Automatic Migrations, Validation and More
Stars: ✭ 48 (-50%)
Mutual labels:  migrations, laravel
Yicms
基于laravel5.5 开发的Yicms系统的基础架构
Stars: ✭ 93 (-3.12%)
Mutual labels:  laravel
Laravel Create
Create Laravel projects really fast
Stars: ✭ 1,331 (+1286.46%)
Mutual labels:  laravel
Laravel Bandwagon
Social proof package for Laravel
Stars: ✭ 93 (-3.12%)
Mutual labels:  laravel
Laravel Localize Middleware
Configurable localization middleware for your Laravel >=5.1 application
Stars: ✭ 92 (-4.17%)
Mutual labels:  laravel
Laravel Tracer
Shows the path of each blade file loaded in a template
Stars: ✭ 96 (+0%)
Mutual labels:  laravel
Laravel piwik
An Interface to Piwik's Analytics API for Laravel (Composer Package).
Stars: ✭ 95 (-1.04%)
Mutual labels:  laravel
Laravel Sitemap
Create and generate sitemaps with ease
Stars: ✭ 1,325 (+1280.21%)
Mutual labels:  laravel
Laravel Backup
A easy-to-use backup manager for Laravel
Stars: ✭ 93 (-3.12%)
Mutual labels:  laravel
Api Restful Con Laravel Guia Definitiva
Repositorio para el código base del curso "API RESTful con Laravel - Guía Definitiva"
Stars: ✭ 95 (-1.04%)
Mutual labels:  laravel
Officelife
OfficeLife manages everything employees do in a company. From projects to holidays to 1 on 1s to ... 🚀
Stars: ✭ 90 (-6.25%)
Mutual labels:  laravel
Lara Lens
Laravel package for display diagnostic (config, database, http connections...)
Stars: ✭ 96 (+0%)
Mutual labels:  laravel
Dropzone Laravel Image Upload
Laravel 5.2 and Dropzone.js auto image uploads with removal links
Stars: ✭ 92 (-4.17%)
Mutual labels:  laravel
Laravel Email Confirmation
Add email confimation to Laravel project
Stars: ✭ 94 (-2.08%)
Mutual labels:  laravel
Flex Env
🌳 Manage your .env file in Laravel projects through artisan
Stars: ✭ 95 (-1.04%)
Mutual labels:  laravel
Admin One Laravel Dashboard
Admin One — Free Laravel Dashboard (Bulma Buefy Vue.js SPA)
Stars: ✭ 94 (-2.08%)
Mutual labels:  laravel

Laravel Migrations Organiser

Build Status Total Downloads Scrutinizer Code Quality

The number of migrations in any sized project can quickly become huge, and although they are ordered, having one big list can sometimes be inconvenient and slow to navigate.

This package will put your migrations in yyyy/mm folders e.g.

./database/migrations/2015/03/2015_03_25_210946_create_users_table.php

Versions

  • Laravel 5.3-6.* use v4.*
  • Laravel 7.* use v5.*
  • Laravel 8.* use v6.*

Installation

composer require jaybizzle/laravel-migrations-organiser

Add the following to the providers array in your config/app.php file..

    Jaybizzle\MigrationsOrganiser\MigrationsOrganiserServiceProvider::class,

Laravel ^5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider

Usage

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

What if I have already created migrations

No problem, just run artisan migrate:organise and your migrations will be moved into the relevant yyyy/mm folders.

I want my migrations back to how they were

Again, no problem. Running artisan migrate:disorganise will move all migrations from the yyyy/mm folder structure into the base migrations folder. Add the --force option to delete left over folders without confirmation.

Analytics

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].