PHPackages                             tsslabs/knp-gaufrette-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. tsslabs/knp-gaufrette-bundle

ActiveSymfony-bundle[File &amp; Storage](/categories/file-storage)

tsslabs/knp-gaufrette-bundle
============================

Allows to easily use the Gaufrette library in a Symfony project, with Dropbox Adapter

v0.1.4(13y ago)0107MITPHP

Since Nov 14Pushed 12y ago1 watchersCompare

[ Source](https://github.com/tsslabs/KnpGaufretteBundle)[ Packagist](https://packagist.org/packages/tsslabs/knp-gaufrette-bundle)[ Docs](http://knplabs.com)[ RSS](/packages/tsslabs-knp-gaufrette-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (3)Used By (0)

Gaufrette Bundle
================

[](#gaufrette-bundle)

Provides a [Gaufrette](https://github.com/KnpLabs/Gaufrette) integration for your Symfony projects.

About Gaufrette
---------------

[](#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](https://github.com/KnpLabs/Gaufrette).

Installation
------------

[](#installation)

Prerequisites
-------------

[](#prerequisites)

As this bundle is an integration for Symfony of the [Gaufrette](https://github.com/KnpLabs/Gaufrette) library, it requires you to first install [Gaufrette](https://github.com/KnpLabs/Gaufrette) in a Symfony project.

Download the bundle
-------------------

[](#download-the-bundle)

You can download an archive of the bundle and unpack it in the `vendor/bundles/Knp/Bundle/GaufretteBundle` directory of your application.

### Standard Edition Style

[](#standard-edition-style)

If you are using the `deps` file to manage your project's dependencies, you must add the following lines to it:

```
[gaufrette]
    git=http://github.com/KnpLabs/Gaufrette.git

[KnpGaufretteBundle]
    git=http://github.com/KnpLabs/KnpGaufretteBundle.git
    target=/bundles/Knp/Bundle/GaufretteBundle

```

### Composer Style

[](#composer-style)

This bundle can be installed using composer by adding the following in the `require` section of your `composer.json` file:

```
    "require": {
        ...
        "knplabs/knp-gaufrette-bundle": "dev-master"
    },

```

### Git Submodule Style

[](#git-submodule-style)

If you are versioning your project with git and making changes to this bundle you can embed it as a submodule:

```
$ git submodule add https://github.com/KnpLabs/KnpGaufretteBundle.git vendor/bundles/Knp/Bundle/GaufretteBundle

```

Add the namespace in the autoloader
-----------------------------------

[](#add-the-namespace-in-the-autoloader)

You must register both Gaufrette and the KnpGaufretteBundle in your autoloader: (You do not have to do this if you are using the composer autoload system.)

```
