Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php composer copy library to public vendor folder

// file composer.json - after command "composer update" selected libraryes will be copied to chosen folders
"scripts": {
  "post-update-cmd": [
    "cp -r vendor/tinymce public_html/vendor/tinymce",
    "cp -r vendor/tweeb public_html/vendor/tweeb"
  ]
}
 
PREVIOUS NEXT
Tagged: #php #composer #copy #library #public #vendor #folder
ADD COMMENT
Topic
Name
3+6 =