ghostwriter/filesystem

Filesystem implementation for PHP

0.1.1 2024-10-10 16:28 UTC

This package is auto-updated.

Last update: 2024-11-06 16:19:04 UTC


README

Automation Supported PHP Version GitHub Sponsors Code Coverage Type Coverage Psalm Level Latest Version on Packagist Downloads

Filesystem implementation for PHP

Warning

This project is not finished yet, work in progress.

Installation

You can install the package via composer:

composer require ghostwriter/filesystem

Star ⭐️ this repo if you find it useful

You can also star (🌟) this repo to find it easier later.

Usage

use GhostWriter\Filesystem\Filesystem;

$filesystem = new Filesystem();

$currentDirectory = $filesystem->currentWorkingDirectory();

$filesystem->write($currentDirectory . '/blm.txt', '#BlackLivesMatter');

$content = $filesystem->read($currentDirectory . '/blm.txt');

echo $content; // #BlackLivesMatter

Credits

Changelog

Please see CHANGELOG.md for more information on what has changed recently.

License

Please see LICENSE for more information on the license that applies to this project.

Security

Please see SECURITY.md for more information on security disclosure process.