PHP code example of wecansync / laravel-migration-generator
1. Go to this page and download the library: Download wecansync/laravel-migration-generator 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/ */
wecansync / laravel-migration-generator example snippets
php artisan generate:migration Category
php artisan generate:migration Brand
php artisan generate:migration Tag
php artisan generate:migration Product
php artisan migrate
public $migration_schema = [
// your fields here
'name' => [], // is the array is empty default_schema will be created
];