Publish migrations, config, and views
mainThis package provides several assets that can be published to your Laravel application using the vendor:publish command:
Migrations
To publish and run the database migrations:
php artisan vendor:publish --tag=":package_slug-migrations"
php artisan migrateConfiguration
To publish the configuration file:
php artisan vendor:publish --tag=":package_slug-config"The published config file follows this structure:
return [
// configuration options go here
];Views
To publish the package views:
php artisan vendor:publish --tag=":package_slug-views"php artisan vendor:publish --tag=":package_slug-migrations"
php artisan migrate
php artisan vendor:publish --tag=":package_slug-config"
php artisan vendor:publish --tag=":package_slug-views"