migrate table in database in laravel code example
Example 1: create laravel migration
php artisan make:migration create_users_table
Example 2: laravel migrate in browser
\Artisan::call('migrate',
array(
'--path' => 'database/migrations',
'--database' => 'dynamicdb',
'--force' => true));