php-extended/php-file-object
Lightweight file object abstraction for PHP: immutable value objects representing files and their paths, with helpers for metadata and seamless integration into the php-extended ecosystem. Framework-agnostic, composable, and easy to use.
php-extended/php-file-object provides a set of object-oriented abstractions for filesystem paths in PHP. It defines interfaces for files, directories, and links, letting you treat paths as first-class objects instead of raw strings, so the same code works whether a path points to a regular file, a directory, or a symbolic link.
How can I help you explore Laravel packages today?