- 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.