Publish Commands

Files should be published only if necessary. Any published file will replace package files which could be updated in the future, so they must be updated manually.

Publish Files

To publish the assets into the /public folder:

php artisan vendor:publish --tag=languages-public

  

Publish Migrations

To publish the migrations into the /database/migrations folder:

php artisan vendor:publish --tag=languages-migrations

  

Publish Config

Command to publish the languages.php into the /config into folder:

php artisan vendor:publish --tag=languages-config

  

Publish Translations

Command to publish the translations into the language folder:

php artisan vendor:publish --tag=languages-translations

  

Publish Views

Command to publish the views into the language folder:

php artisan vendor:publish --tag=languages-views