Skip to content

mux:upload Artisan Command

Upload local video assets to Mux.

Existing videos will not be uploaded again, unless the --force flag is set.

Use --dry-run to print a list of affected files without actually performing the upload.

sh
# Upload videos to Mux, skip existing videos
php artisan mux:upload

# Upload videos to Mux, reupload existing videos
php artisan mux:upload --force

# Perform a trial run and print a list of affected files
php artisan mux:upload --dry-run

Unlicensed commercial plugin