Skip to content
PHP library that provides a filesystem abstraction layer − will be a feast for your files!
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Drop HHVM support + sync docker conf with Travis Oct 3, 2017
doc
docker Drop HHVM support + sync docker conf with Travis Oct 3, 2017
spec/Gaufrette drop support for php 5.6 and 7.0 Dec 10, 2018
src/Gaufrette Cannot call `$this->delete($this->computePath($sourceKey))` with opti… Jan 10, 2019
tests/Gaufrette/Functional Merge pull request #594 from damijank/patch-1 Dec 13, 2018
.dockerignore Drop HHVM support + sync docker conf with Travis Oct 3, 2017
.editorconfig
.env.dist Drop HHVM support + sync docker conf with Travis Oct 3, 2017
.gitignore Remove mocked http responses from functional tests for aws adapter Mar 23, 2017
.travis.yml drop support for php 5.6 and 7.0 Dec 10, 2018
CHANGELOG.md prepare v0.8.1 release Jan 11, 2019
Dockerfile-php71 Drop HHVM support + sync docker conf with Travis Oct 3, 2017
LICENSE Add license Feb 3, 2011
README.md Fixed typo Dec 15, 2017
appveyor.yml drop support for php 5.6 and 7.0 Dec 10, 2018
composer.json prepare v0.8 release Dec 21, 2018
docker-compose.yml remove old dockerfiles Dec 13, 2018
phpspec.yml drop support for php 5.6 and 7.0 Dec 10, 2018
phpunit.xml.dist drop support for php 5.6 and 7.0 Dec 10, 2018

README.md

Gaufrette

Gaufrette provides a filesystem abstraction layer.

Build Status AppVeyor Status Quality Score Packagist Version Total Downloads Software License Join the chat at Gitter

Why use Gaufrette?

Imagine you have to manage a lot of medias in a PHP project. Lets see how to take this situation in your advantage using Gaufrette.

The filesystem abstraction layer permits you to develop your application without the need to know where all those medias will be stored and how.

Another advantage of this is the possibility to update the files location without any impact on the code apart from the definition of your filesystem. In example, if your project grows up very fast and if your server reaches its limits, you can easily move your medias in an Amazon S3 server or any other solution.

Documentation

Read the official Gaufrette documentation.

Metapackages for adapters

Every maintained adapter now have a dedicated metapackage. You can find the list on packagist. We highly recommend you to use them as they contain their own requirements: you don't need to worry about third-party dependencies to install before using Gaufrette anymore.

Symfony integration

Symfony integration is available through KnpLabs/KnpGaufretteBundle.

Maintainers

Here is the list of dedicated maintainer(s) for every adapter not deprecated. If you don't receive any response to your issue or pull request in a timely manner, ping us:

Adapter Referent
AwsS3 @NiR-
AzureBlobStorage @NiR-
DoctrineDbal @pedrotroller, @NicolasNSSM
Flysystem @nicolasmure
Ftp @fabschurt
GoogleCloudStorage @AntoineLelaisant
GridFS @NiR-
InMemory
Local
OpenCloud @NiR-
PhpseclibSftp @fabschurt
Zip

For InMemory, Local and Zip adapters everyone in this list is considered as a maintainer.

Launch the Test Suite

Requires:

  • docker
  • docker-compose

Build images:

$ docker-compose build

Launch the tests:

$ bin/tests-all

Is it green?

Note

This project does not have any stable release yet but we do not want to break BC now.

You can’t perform that action at this time.