Large file uploads

No, cloud vendors will provide an API to use of their own. A more flexible approach would be using a library like Flysystem to handle all this for you. Flysystem not only makes it easy to read and write to to a local file system but has several adaptors for cloud vendors as well. Flysystem is really powerful once you learn some more advanced techniques of using dependency management libs like composer and OOP. The PHP ecosystem has a lot of really great libraries once you embrace composer and using other peoples work. Writing low level code like this when there are libs is really not productive, professional or considerate to future developers.

1 Like