amethyst/file
A lightweight file handling component for Amethyst that wraps Laravel's filesystem with a fluent API for uploads, disk paths, mime types, and file metadata. A clean, reusable building block for projects that need consistent file management.
Consider it when:
Look elsewhere when:
Illuminate\Http\UploadedFile plus the Filesystem/Flysystem integration. Adding this package would duplicate capability with none of the support.For executives: This is a small, permissively licensed file-handling utility with essentially no adoption. The upside is that we can read and reuse it at almost no cost. The downside is that nobody is maintaining it and nobody depends on it — so any defect becomes ours. Recommendation: do not introduce it as a production dependency unless we are already inside the Amethyst ecosystem. If we want the functionality, we fork it, own it, and budget a short hardening pass. For a Laravel product, we do nothing — the framework already covers this.
For engineering: Treat it as source material, not a dependency. Expect a thin file abstraction covering upload and validation concerns rather than a full media pipeline. If we adopt: pin the version, vendor the code, and spend roughly one to two days on hardening — path-traversal defenses, content-based MIME sniffing rather than trusting client headers, filename and extension normalization, size and count limits, and tests around each. If we are on Laravel, use the native upload and filesystem stack and skip this entirely.
How can I help you explore Laravel packages today?