Registry / utility / knplabs-gaufrette

knplabs-gaufrette

JSON →
library0.11.1phppackagistunverified

PHP library that provides a filesystem abstraction layer.

composer require knplabs/gaufrette
INSTALL
IMPORT
SIG · KNPLABS-GAUFRETTE
K
knplabs-gaufrette
utilityphpv0.11.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Filesystem
use Gaufrette\Filesystem;

Create a local filesystem adapter and write a file.

use Gaufrette\Filesystem; use Gaufrette\Adapter\Local; $adapter = new Local('/path/to/directory'); $filesystem = new Filesystem($adapter); $filesystem->write('file.txt', 'content');
Debug
Known issues
gotchaAdapter implementations may have different behaviors for directory creation.
fix
Check the specific adapter documentation for directory handling.
affects: >=0.1.0
Upgrade
Version history
0.11.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Amazon
1
Resources
knplabs-gaufrette — pip install knplabs-gaufrette · libregistry