Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Gaufrette Laravel Package

knplabs/gaufrette

View on GitHub
Deep Wiki
Context7

currentMenu: flysystem

Flysystem

First, you will need to install the adapter:

composer require gaufrette/flysystem-adapter

Folks from thephpleague have built extraordinary Flysystem package which does exactly the same thing as Gaufrette, but with slightly different API.

We wanted to make Gaufrette compatible with as many systems as possible, and didn't want to reinvent the wheel. So we built a Flysystem adapter.

With this adapter you can use any Flysystem adapter with no performance penalties. It is just a tiny layer that makes Gaufrette talk to Flysystem adapters.

Example

We will show using Flysystem adapter on Dropbox example.

First, you need to install Flysystem Dropbox adapter through composer:

$ composer require league/flysystem-dropbox

Now, just wrap Dropbox adapter into Gaufrette Flysystem adapter.

<?php

$adapter = new Gaufrette\Adapter\Flysystem(
    new League\Flysystem\Dropbox\DropboxAdapter(
        new Dropbox\Client('<token>', '<consumer_secret>')
    )
);

$filesystem = new Gaufrette\Filesystem($adapter);

As said above, same pattern can be applied to any Flysystem adapter.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
ilhamsyabani/laravel-volt-starter
thethunderturner/filament-latex
ghostcompiler/laravel-querybuilder
webrek/laravel-telescope-mongodb
anousss007/blatui
zatona-eg/zatona-eg-api
cocosmos/filament-sticky-save-bar
patrickbussmann/oauth2-apple
3brs/enterprise-security-bundle
anousss007/vigilance
supportpal/eloquent-model
ardenexal/fhir-models
laravel-at/laravel-image-sanitize
romalytar/yammi-audit-log-laravel
ardenexal/fhir-validation
arshaviras/weather-widget
laravel-chronicle/core
sunchayn/nimbus
daikazu/eloquent-salesforce-objects
unseen-codes/chat