Weave 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 Extras

Gaufrette Extras Laravel Package

kphoen/gaufrette-extras

Extra adapters and utilities for the Gaufrette filesystem abstraction library. Extends Gaufrette with additional storage backends and helpers, letting PHP applications manage local and remote files through a consistent interface with less boilerplate.

View on GitHub
Deep Wiki
Context7

Gaufrette Extras extends Gaufrette, the PHP filesystem abstraction library, with utilities the core package leaves out. Its centrepiece is URL resolution: a ResolvableFilesystem wrapper plus pluggable resolvers let you turn a filesystem path into a public URL, even though Gaufrette adapters themselves know nothing about URLs.

  • Pluggable resolvers (local paths, S3, custom implementations)
  • ResolvableFilesystem decorator works with any adapter
  • Clear exceptions for unresolvable objects
  • Composer-ready and PSR-compatible
Frequently asked questions about Gaufrette Extras
Is kphoen/gaufrette-extras compatible with Laravel?
No, not in a Laravel-native way. It extends Gaufrette rather than Laravel's Flysystem-based Storage layer, and it provides no service provider, configuration, or package discovery integration. Using it in Laravel means maintaining a parallel filesystem abstraction alongside the framework's built-in filesystem features.
Can I use kphoen/gaufrette-extras with PHP 8?
It is very unlikely to work cleanly on PHP 8. The package is a PHP 5-era library with its last release in September 2015, so Composer platform constraints and old syntax may block installation or runtime use. A compatibility spike in an isolated branch is required before considering it.
How do I install kphoen/gaufrette-extras with Composer?
The nominal command is composer require kphoen/gaufrette-extras, but installation may fail on modern PHP because of platform requirements and old dependency constraints. The package is deprecated, so Composer resolution and conflicts should be tested in a disposable environment first. For new Laravel projects, do not add it.
What is kphoen/gaufrette-extras used for?
It provides additional adapters and helper classes for the Gaufrette filesystem abstraction in PHP applications. These extras plug into Gaufrette's adapter interfaces to support more storage backends and simplify filesystem setup. It is not a Laravel package and does not replace Laravel's Storage facade.
Is kphoen/gaufrette-extras still maintained?
No. The project is marked deprecated, its last release was in September 2015, and there is no visible maintainer activity since then. Adopting it means your team becomes the de facto maintainer for PHP upgrades, security review, and bug fixes.
What are the alternatives to Gaufrette for Laravel filesystem storage?
Laravel's native filesystem layer is built on Flysystem and exposed through the Storage facade. You can use Flysystem adapters for local, S3, FTP, SFTP, and other backends without adding Gaufrette. If you need a missing capability, a small custom Flysystem adapter is usually safer than an abandoned Gaufrette extra.
Does kphoen/gaufrette-extras work with Laravel's Storage facade?
No. Laravel's Storage facade is Flysystem-based, while this package extends Gaufrette, a separate filesystem abstraction. There is no built-in bridge between the two, so you would have to write custom wiring and isolate it from domain code. That adds complexity without leveraging Laravel's native filesystem features.
Should I use Gaufrette or Flysystem in a Laravel application?
Use Flysystem through Laravel's Storage facade. It is the framework-native abstraction, benefits from Laravel package discovery and configuration, and is actively maintained. Gaufrette plus kphoen/gaufrette-extras is only defensible for a legacy app that already depends on Gaufrette and cannot remove a specific extra cheaply.
How do I migrate from Gaufrette to Laravel Flysystem?
First inventory every Gaufrette adapter and extra component in use, then map each capability to a Flysystem adapter or Laravel Storage feature. Prototype small internal adapters for gaps instead of keeping the deprecated package. If temporary retention is unavoidable, wrap Gaufrette behind an internal interface and migrate call sites incrementally.
Is kphoen/gaufrette-extras safe for production?
It carries high technical risk for production. The package is abandoned, PHP 5-era, has no security patches since 2015, and has a very small user base with zero dependents. If a legacy requirement forces adoption, fork and pin it, add PHP 8 compatibility tests, perform a security review, and plan removal.
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.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource