PHPackages                             knplabs/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. knplabs/knp-gaufrette-bundle

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

knplabs/knp-gaufrette-bundle
============================

Allows to easily use the Gaufrette library in a Symfony project

v0.9.0(2y ago)72428.6M—5.4%163[32 issues](https://github.com/KnpLabs/KnpGaufretteBundle/issues)[1 PRs](https://github.com/KnpLabs/KnpGaufretteBundle/pulls)20MITPHPPHP ^7.4 || ^8.0CI passing

Since Nov 14Pushed 1y ago31 watchersCompare

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

READMEChangelog (10)Dependencies (8)Versions (20)Used By (20)

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

[](#gaufrette-bundle)

[![Build Status](https://github.com/KnpLabs/KnpGaufretteBundle/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/KnpLabs/KnpGaufretteBundle/actions/workflows/ci.yml)

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

[![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://github.com/vshymanskyy/StandWithUkraine/blob/main/docs/README.md)

About Gaufrette
===============

[](#about-gaufrette)

Gaufrette is a PHP 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 your project.

Note that, you need to install separately the adapters you want to use. You can find more details about these packages [here](https://github.com/KnpLabs/Gaufrette#metapackages-for-adapters), and the full list adapters [on packagist](https://packagist.org/packages/gaufrette/).

With composer
-------------

[](#with-composer)

```
composer require knplabs/knp-gaufrette-bundle
```

Register the bundle
-------------------

[](#register-the-bundle)

You must register the bundle in your kernel:

```
