PHPackages                             comphp/filesystem - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. comphp/filesystem

ActiveLibrary[File &amp; Storage](/categories/file-storage)

comphp/filesystem
=================

Virtual mount-based filesystem access and path resolution for PHP applications.

0.3(3w ago)01MITPHPPHP ^8.5

Since May 17Pushed 3w agoCompare

[ Source](https://github.com/commonphp/filesystem)[ Packagist](https://packagist.org/packages/comphp/filesystem)[ RSS](/packages/comphp-filesystem/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

CommonPHP Filesystem
====================

[](#commonphp-filesystem)

CommonPHP Filesystem provides virtual mount-based filesystem access for CommonPHP applications. It resolves logical paths to one or more real storage locations while keeping file access consistent across applications and packages.

The package gives CommonPHP applications a clean way to work with application storage, package resources, and mounted locations without scattering raw paths throughout the codebase.

Requirements
------------

[](#requirements)

- PHP `^8.5`

Installation
------------

[](#installation)

Once this package is available through your Composer repositories, install it with:

```
composer require comphp/filesystem
```

Usage
-----

[](#usage)

```
