Laravel - Package Development - Publishing Views

If you would like to make your views available for publishing to the application's resources/views/vendor directory, you may use the service provider's publishes method. The publishes method accepts an array of package view paths and their desired publish locations:

     * Bootstrap the package services.
     * @return void
    public function boot()
        $this->loadViewsFrom(__DIR__.'/../resources/views', 'courier');
            __DIR__.'/../resources/views' => resource_path('views/vendor/courier'),

Now, when users of your package execute Laravel's vendor:publish Artisan command, your package's views will be copied to the specified publish location.