slick/fswatch
slick/fswatch integrates the fswatch file-system watcher with Laravel, letting you monitor files and automatically trigger commands, tests, or custom callbacks when changes occur. A lightweight way to streamline local development workflows.
slick/fswatch is a tiny utility that sums file sizes in a directory to infer whether contents changed. That is a weak heuristic, not a real filesystem watcher. It can fit only as an internal, non-critical change-detection helper—e.g., a CLI command, deployment sanity check, or cache-busting pre-check. It should not become a platform dependency or sit in a request path.filemtime, hash_file, Symfony Finder, or Laravel’s File/Storage APIs.NOASSERTION license is a legal/reuse risk. The package’s low ecosystem signal creates supply-chain and abandonment risk, even if the code is small enough to audit or fork.TPM recommendation: Treat slick/fswatch as a reference implementation, not a production dependency. If a cheap directory-size signal is useful, wrap it behind an internal interface and pair it with a stronger signal such as a manifest hash, filemtime, or deployment release ID.
File::lastModified, File::hash, Storage metadata, Vite/Mix manifests, and release identifiers. Fit is acceptable only for a narrow internal tool, not for core caching, routing, queue, or deployment logic.DirectoryFingerprint adapter with two backends: the package and an internal hash/mtime implementation. Compare results in shadow mode on representative directories. Adopt the package only if legal, security, and behavioral checks pass; otherwise keep the internal implementation and remove the dependency.How can I help you explore Laravel packages today?