|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2019-11-05 (7 days ago) ||Not yet rated by the users||Total: 9 This week: 9||All time: 9,753 This week: 29|
This package can add custom directories for Laravel migration files.
It is a service provider to use with the Laravel framework that allows having multiple directories to store migration files.
The package adds all directories under the migrations directory to the list of migration directories.
Additionally, a developer may add custom directories to look for migration files.
Laravel Migration Paths
During the periodical development phase the migrations folder may become very large.
It is very helpful if we can organize the content of the migration folders.
This library helps to organize migration files in different folders.
Even, if your organize your existing files it will works as well.
Use Composer to install the library.
composer require nscreed/laravel-migration-paths
After updating composer, add the service provider to the
providers array in
Laravel 5.5 uses Package Auto-Discovery, so does not require you to manually add the ServiceProvider.
By default all folders under the
migrations directory will be registered for migrations.
But, if you like to add custom directories which is not under the migrations folder
you have to publish the config first.
php artisan vendor:publish --provider="NsCreed\MigrationPath\ServiceProvider" --tag="config"
Add your custom directories:
'paths' => [
'path/to/custom_migrations', // Your Custom Migration Directory
This bundle is under the MIT license. For the full copyright and license
information please view the LICENSE file that was distributed with this source code.
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.