Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

rkaalma's avatar

Laravel Vapor (private) local storage || S3 with php DirectoryIterator?

Hey!

I need to have an accessible "storage_path()" directory where I store certificates - those need to be discoverable files (not public) since the directory is scanned with php DirectoryIterator by a third-party package. As I understand from documentation and some articles, Vapor doesn't have that kind of a "conventional" local storage and as far as I know it isn't really possible to use php DirectoryIterator (since I must provide a "locally acessable" path to the third-party method) on a S3 path.

Any suggestions on how to resolve this?

0 likes
1 reply
BasvanKempen's avatar

Hey I got the same problem.

Have you been able to solve this ?

Please or to participate in this conversation.