Laravel 5 dynamically run migrations
<p>so I have created my own blog package in a structure of <code>Packages/Sitemanager/Blog</code> I have a service provider that looks like the following:</p>

<pre><code>namespace Sitemanager\Blog;

use Illuminate\Support\ServiceProvider as LaravelServiceProvider;

class BlogServiceProvider extends LaravelServiceProvider {

    /**
     * Indicates if loading of the provider is deferred.
     *
     * @var bool
     */
    protected $defer = false;

    /**
     * Bootstrap the application events.
     *
     * @return void
     */
    public function boot() {

        $this-&gt;handleConfigs();
        $this-&gt;handleMigrations();
        $this-&gt;handleViews();
        $this-&gt;handleRoutes();
    }

    /**
     * Register the service provider.
     *
     * @return void
     */
    public function register() {

        // Bind any implementations.
        $this-&gt;app-&gt;make('Sitemanager\Blog\Controllers\BlogController');
    }

    /**
     * Get the services provided by the provider.
     *
     * @return array
     */
    public function provides() {

        return [];
    }

    private function handleConfigs() {

        $configPath = __DIR__ . '/config/blog.php';

        $this-&gt;publishes([$configPath =&gt; config_path('blog.php')]);

        $this-&gt;mergeConfigFrom($configPath, 'blog');
    }

    private function handleTranslations() {

        $this-&gt;loadTranslationsFrom(__DIR__.'/lang', 'blog');
    }

    private function handleViews() {

        $this-&gt;loadViewsFrom(__DIR__.'/views', 'blog');

        $this-&gt;publishes([__DIR__.'/views' =&gt; base_path('resources/views/vendor/blog')]);
    }

    private function handleMigrations() {

        $this-&gt;publishes([__DIR__ . '/migrations' =&gt; base_path('database/migrations')]);
    }

    private function handleRoutes() {

        include __DIR__.'/routes.php';
    }
}
</code></pre>

<p>Now, what i would like to do is run the migrations dynamically if they have never been run before or within an installation process i suppose. I've seen in older documentation you could so something like this: </p>

<pre><code>Artisan::call('migrate', array('--path' =&gt; 'app/migrations'));
</code></pre>

<p>However, this is invalid in laravel 5, how can I approach this?</p>