Yannick Warnier 76a0eae5ea Add static resources and remove tests dir for beta release преди 5 години
..
bin 76a0eae5ea Add static resources and remove tests dir for beta release преди 5 години
doc 76a0eae5ea Add static resources and remove tests dir for beta release преди 5 години
docker 76a0eae5ea Add static resources and remove tests dir for beta release преди 5 години
spec 76a0eae5ea Add static resources and remove tests dir for beta release преди 5 години
src 76a0eae5ea Add static resources and remove tests dir for beta release преди 5 години
tests 76a0eae5ea Add static resources and remove tests dir for beta release преди 5 години
.dockerignore 76a0eae5ea Add static resources and remove tests dir for beta release преди 5 години
.editorconfig 76a0eae5ea Add static resources and remove tests dir for beta release преди 5 години
.env.dist 76a0eae5ea Add static resources and remove tests dir for beta release преди 5 години
.gitignore 76a0eae5ea Add static resources and remove tests dir for beta release преди 5 години
.travis.yml 76a0eae5ea Add static resources and remove tests dir for beta release преди 5 години
CHANGELOG.md 76a0eae5ea Add static resources and remove tests dir for beta release преди 5 години
Dockerfile-php71 76a0eae5ea Add static resources and remove tests dir for beta release преди 5 години
LICENSE 76a0eae5ea Add static resources and remove tests dir for beta release преди 5 години
README.md 76a0eae5ea Add static resources and remove tests dir for beta release преди 5 години
appveyor.yml 76a0eae5ea Add static resources and remove tests dir for beta release преди 5 години
composer.json 76a0eae5ea Add static resources and remove tests dir for beta release преди 5 години
docker-compose.yml 76a0eae5ea Add static resources and remove tests dir for beta release преди 5 години
phpspec.yml 76a0eae5ea Add static resources and remove tests dir for beta release преди 5 години
phpunit.xml.dist 76a0eae5ea Add static resources and remove tests dir for beta release преди 5 години

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.