innmind/file-watch
Watch files and directories for changes from PHP. innmind/file-watch surfaces filesystem events when files are created, modified, or deleted, making it useful for hot reloading, build watchers, and automation that must react to file changes.
Library to execute code when a file changes
How can I help you explore Laravel packages today?