PHP code example of ed-fruty / laravel4-namespace-migrator
1. Go to this page and download the library: Download ed-fruty/laravel4-namespace-migrator 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/ */
ed-fruty / laravel4-namespace-migrator example snippets
'reserved' => [
base_path('app/modules/Blog/migrations') => 'Blog\\Migrations\\',
]
base_path('workbench/foo/bar/src/migrations') => 'VendorNamespace\\PackageNamespace\\'
bash
php artisan migrate --path=app/Modules/Blog/Migrations
bash
php artisan migrate --path=app/modules/Blog/migrations
bash
php artisan migrate --bench=foo/bar
php artisan migrate