alexkratky / filestream
Thread safe file write & read
v1.0.0
2020-05-14 08:35 UTC
Requires
- php: >=7.0
This package is auto-updated.
Last update: 2024-12-14 18:57:42 UTC
README
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.
Usage
The usage is easy, just add to filepath the panx:// protocol.
For example:
file_put_contents("panx://text.txt", "Hello world!");
License
See safe-stream and license on github.