Yes. IronWorker runs on Iron.io's servers, so all dependencies need to be uploaded.
You can do this in the worker file by using the dir
and file
commands:
dir 'path/to/dir'
file 'path/to/file.php'
Dir will include entire directories, file will include only a single file. You can find out more information on the .worker reference page.