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