acacha/filesystem
acacha/filesystem is a Laravel package offering convenient filesystem helpers and abstractions for managing files, directories, and storage disks. It simplifies common file operations and integrates with Laravel's filesystem layer for cleaner PHP applications.
make:*-style artisan commands, module/CRUD scaffolding, tenant or project bootstrapping, config file emission, or boilerplate generation for internal teams.Consider adoption when:
str_replace over template strings scattered across commands.Look elsewhere (or build in-house) when:
Illuminate\Filesystem\Filesystem plus a ~50-line stub renderer already covers you. For most teams this is the correct answer; the package's marginal value over the framework is small.For executives (one paragraph): We are evaluating a small open-source PHP utility that handles file generation from templates — the plumbing behind "scaffolding" commands that create boilerplate code and config files. It is MIT-licensed, tiny in scope, and low-risk but also low-value: it saves roughly a day of engineering versus writing the equivalent internally. It does not touch customer data, payments, or runtime request paths. My recommendation is to adopt it only inside internal developer tooling, pinned to a specific version and wrapped behind our own interface — or simply implement the equivalent in-house if we prefer zero added dependencies. It should not appear on the roadmap as a strategic component.
For engineering: This is a convenience library, not infrastructure. Use it for stub-driven generators; do not use it as your general filesystem abstraction — keep Laravel's Filesystem/Storage for that. Requirements before merge: pin the version, wrap the compiler behind a first-party StubRenderer interface, add a test that renders a representative stub, and confirm the MIT license text is captured in our dependency inventory. Assume upstream is dormant: if we need a fix, we fork. If the wrapper takes more than a day, that is the signal to build it ourselves instead.
How can I help you explore Laravel packages today?