laravel use some migration scripts in command line code example
Example: laravel migrate in production
\Artisan::call('migrate',
array(
'--path' => 'database/migrations',
'--database' => 'dynamicdb',
'--force' => true));
\Artisan::call('migrate',
array(
'--path' => 'database/migrations',
'--database' => 'dynamicdb',
'--force' => true));