Gaufrette Bundle ================ [![Build Status](https://travis-ci.org/KnpLabs/KnpGaufretteBundle.svg?branch=master)](https://travis-ci.org/KnpLabs/KnpGaufretteBundle) Provides a [Gaufrette][gaufrette-homepage] integration for your Symfony projects. About Gaufrette =============== Gaufrette is a PHP 5.3+ library providing a filesystem abstraction layer. This abstraction layer allows you to develop applications without needing to know where all their media files will be stored or how. Documentation is available the [official page of Gaufrette][gaufrette-homepage]. Installation ============ ## Prerequisites As this bundle is an integration for Symfony of the [Gaufrette][gaufrette-homepage] library, it requires you to first install [Gaufrette][gaufrette-homepage] in a Symfony project. ## With composer This bundle can be installed using [composer](http://getcomposer.org) by adding the following in the `require` section of your `composer.json` file: ``` json "require": { ... "knplabs/knp-gaufrette-bundle": "~0.3" }, ``` ## Register the bundle You must register the bundle in your kernel: ``` php get('knp_gaufrette.filesystem_map')->get('bar'); ``` Returns the `bar` instance of `Gaufrette\Filesystem`. [gaufrette-homepage]: https://github.com/KnpLabs/Gaufrette