Download the PHP package hgraca/file-system without Composer
On this page you can find all versions of the php package hgraca/file-system. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download hgraca/file-system
More information about hgraca/file-system
Files in hgraca/file-system
Download hgraca/file-system
More information about hgraca/file-system
Files in hgraca/file-system
Vendor hgraca
Package file-system
Short Description A generic PHP library that wraps file system calls.
License MIT
Package file-system
Short Description A generic PHP library that wraps file system calls.
License MIT
Please rate this library. Is it a good library?
Informations about the package file-system
Hgraca\FileSystem
A generic library that wraps file system calls. It contains an in-memory file system that behaves the same as the real one, very useful for testing applications that use this little wrapper class.
Please note that this is only useful for small files in a local file system.
- If you need to handle big files, you should use streams.
- If you need to use files from multiple file systems (local, S3, RedShift, ...) I advise using FlySystem.
Installation
To install the library, run the command below and you will get the latest version:
Usage
Simply instantiate one of the concrete classes and use.
There are 2 modes:
- Strict: ie, If we try to delete a folder that does not exist, it throws an exception
- Idempotent: ie, If we try to delete a folder that does not exist, it DOES NOT throw an exception
Todo
- Change structure from inheritance into composition
All versions of file-system with dependencies
PHP Build Version
Package Version
The package hgraca/file-system contains the following files
Loading the files please wait ....