Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pedrotroller/local-adapter
Connect Gaufrette filesystem to your local filesystem.
https://github.com/pedrotroller/local-adapter
Last synced: 29 days ago
JSON representation
Connect Gaufrette filesystem to your local filesystem.
- Host: GitHub
- URL: https://github.com/pedrotroller/local-adapter
- Owner: PedroTroller
- Created: 2014-11-28T14:09:17.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-11-23T13:53:50.000Z (about 8 years ago)
- Last Synced: 2024-10-14T12:09:36.658Z (2 months ago)
- Language: PHP
- Homepage: http://knplabs.com
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#Gaufrette Local Adapter
------------------------Connect Gaufrette filesystem to your local filesystem.
[![Build Status](https://travis-ci.org/Gaufrette/local-adapter.svg?branch=master)](https://travis-ci.org/Gaufrette/local-adapter)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Gaufrette/local-adapter/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/Gaufrette/local-adapter/?branch=master)##Installation
```bash
composer require gaufrette/local-adapter
```#Configuration and usage
```php
$adapter = new Local('/tmp/folder');
$content = $adapter->readContent('file.txt'); // Return the file content
$adapter->writeContent('file.txt', $content); // Overwrite the file content
// ...
```