phpdocumentor/filesystem
Lightweight filesystem utilities from phpDocumentor: path handling, directory/file discovery, and convenience helpers for interacting with the local filesystem. Useful as a small dependency for tools that need consistent file operations and traversal.
This package is effectively obsolete—do not start new projects with it. With only 1 star, no public repository, and no maintenance since ~2016, it predates modern PHP filesystem standards. If you inherit code using it (e.g., in legacy phpDocumentor v2 tooling), identify usage via phpdocumentor\filesystem\File:: calls. The API is minimal: likely static methods like File::getContent($path) and File::putContent($path, $content)—redundant with PHP’s native file_get_contents()/file_put_contents() and far less robust than Laravel’s File::get()/File::put().
Illuminate\Filesystem (backed by Symfony’s Filesystem component) offers superior reliability, PSR-14 integration, and active maintenance.phpdocumentor/filesystem with:
// Laravel (recommended)
\Illuminate\Support\Facades\File::put($path, $content);
\Illuminate\Support\Facades\File::copy($from, $to);
// Or Symfony directly (if decoupled)
use Symfony\Component\Filesystem\Filesystem;
$fs = new Filesystem();
$fs->copy($from, $to, $overwrite = true);
false without exceptions—debugging requires manual error_get_last() inspection.grep -r "phpdocumentor\\\\filesystem" app/ to locate legacy calls.File facade or symfony/filesystem.How can I help you explore Laravel packages today?