How to zip folder using laravel filesystem? we used
spatie/flysystem-dropbox
We need to zip folder or file via flysystem-dropbox package.
The Dropbox API itself does offer the ability to download a folder as a zip via /2/files/download_zip. It doesn't offer the same ability for individual files. It also doesn't offer the ability to produce a zipped folder/file on Dropbox without downloading/uploading it, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
I can't offer support for spatie/flysystem-dropbox itself though, as that's made by a third party, so I don't know if it implements the /2/files/download_zip endpoint, for instance. You should refer to its documentation or contact the maintainer for help with that library.