Thread safe file write & read

v1.0.0 2020-05-14 08:35 UTC

This package is auto-updated.

Last update: 2024-05-14 17:38:00 UTC


FileSream is class that will enable thread safe file write & read. I am not the author of the the class, I just made some changes and change the protocol to panx://. The license is on the end of this page.


The usage is easy, just add to filepath the panx:// protocol.

For example:

file_put_contents("panx://text.txt", "Hello world!");


See safe-stream and license on github.