lastdragon-ru/path
Laravel/PHP utilities for working with filesystem-like paths: build, normalize, join, and resolve path segments with consistent behavior across platforms. Lightweight helper functions/classes aimed at safer path manipulation in applications and libraries.
pathinfo(), realpath(), and filesystem operations, aligning with Laravel’s modern, object-oriented design.Storage facade or filesystem disk support), requiring manual bridging.str_replace/explode logic for path parsing).spatie/array-to-xml or custom utilities).Storage disk integration).Filesystem utilities.Path::resolve(), Path::join()).realpath()).Storage facade or Illuminate\Support\Str not suffice for current needs?\\server\share)?Path vs. Laravel’s Path helpers).pathinfo(), realpath(), DIRECTORY_SEPARATOR.Storage::disk()->path(), Str::of($path)->afterLast('/').league/flysystem-path-prettifier (more feature-rich but heavier).str_replace('/home/user/', '/var/www/')).app('path.utils')) with the package’s Path class.Storage disk awareness)./ vs. \).dirname(), basename()).Path::join('dir', 'file.txt'))... in paths).storage_path() integration).\ as / on Windows")... or symlinks, it could break file operations.Path and Laravel’s Path helper conflict.How can I help you explore Laravel packages today?