Download the PHP package testmonitor/laravel-nested-migrations without Composer
On this page you can find all versions of the php package testmonitor/laravel-nested-migrations. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download testmonitor/laravel-nested-migrations
More information about testmonitor/laravel-nested-migrations
Files in testmonitor/laravel-nested-migrations
Package laravel-nested-migrations
Short Description Organize Laravel migration files into subfolders
License MIT
Informations about the package laravel-nested-migrations
Laravel Nested Migrations
With Nested Migrations, you can organize your migration files into subfolders, keeping things a bit cleaner.
Table of Contents
- Installation
- Usage
- Examples
- Tests
- Changelog
- Contributing
- Credits
- License
Installation
This package can be installed through Composer:
The package will automatically register itself.
Usage
Once loaded, you can start organizing your migration files into folders. You might want to take a look at the examples section to get a better picture.
Please note that nesting is limited to one level deep. This avoids any recursive mess.
Examples
Imagine a migration file layout like this:
Nothing out of the ordinary, right? But what if this list gets bigger? Like a 100 migration files? Things tend to get difficult at that stage. Usually, you'd want to categorize these files into folders and that's exactly where this package comes in.
Now, you can do this:
A version-based migration folder layout is a great way to handle bigger apps, but you can use any name or number you'd like. Just keep in mind that the folders are sorted alphanumerically and migration files are ran through accordingly.
Tests
The package contains integration tests. You can run them using PHPUnit.
Changelog
Refer to CHANGELOG for more information.
Contributing
Refer to CONTRIBUTING for contributing details.
Credits
- Thijs Kok
- Stephan Grootveld
- Frank Keulen
- All Contributors
License
The MIT License (MIT). Refer to the License for more information.
All versions of laravel-nested-migrations with dependencies
illuminate/support Version ^6.0|^7.0|^8.0
illuminate/database Version ^6.0|^7.0|^8.0
illuminate/contracts Version ^6.0|^7.0|^8.0