PHP code example of nscreed / laravel-migration-paths
1. Go to this page and download the library: Download nscreed/laravel-migration-paths library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
nscreed / laravel-migration-paths example snippets
NsCreed\MigrationPath\ServiceProvider::class,
php artisan vendor:publish --provider="NsCreed\MigrationPath\ServiceProvider" --tag="config"
'paths' => [
database_path('migrations'),
// Your Custom Migration Directories
base_path('src/User/Migrations'),
base_path('src/Page/Migrations'),
'path/to/custom_migrations',
],