Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Safe Stream

Safe Stream Laravel Package

nette/safe-stream

Nette SafeStream provides a stream wrapper for atomic file operations, ensuring files are never left partially written or corrupted. It supports file locking and safe concurrent access, making it ideal for writing configs, caches, and logs reliably in PHP applications.

Deep Wiki
Context7

nette/safe-stream provides a PHP stream wrapper for atomic file operations. It prevents readers from seeing partially written files by writing to a temporary file and atomically renaming it into place, making it suitable for caches, configuration, and other shared files.

  • Atomic writes via temporary file + rename
  • Safe reads that never return partial content
  • Drop-in safe:// protocol for standard PHP file functions
  • Supports file_get_contents(), file_put_contents(), fopen(), and more
  • Lightweight, no external dependencies
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console