Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel-medialibrary change name of file

$yourModel->addMedia($pathToFile)->usingName('new name')->toMediaCollection();
 
PREVIOUS NEXT
Tagged: #change #file
ADD COMMENT
Topic
Name
6+6 =