quioteframework / filesystem
Quiote's filesystem subsystem: FilesystemAdapterInterface/ListableFilesystemInterface, FilesystemManager, FilesystemDriverRegistry, LocalFilesystemAdapter, the object-store-backed adapter base classes cloud filesystem drivers extend, and ObjectStoreSessionPersistence, the equivalent base for cloud s
Requires
- php: >=8.5.0
- quioteframework/quiote: ^4.0
- quioteframework/storage: ^4.0
This package is auto-updated.
Last update: 2026-08-20 11:10:22 UTC
README
Quiote's filesystem subsystem: Quiote\Filesystem\FilesystemAdapterInterface/ListableFilesystemInterface, FilesystemManager, FilesystemDriverRegistry, LocalFilesystemAdapter, and the object-store-backed adapter base classes (ObjectStoreFilesystemAdapter, ListableObjectStoreFilesystemAdapter) that quioteframework/filesystem-azure, -s3 and -gcs build their drivers on. Also ships Quiote\Session\ObjectStoreSessionPersistence, the equivalent shared base for quioteframework/session-azure, -s3 and -gcs.
Opt-in like every Quiote plugin: even though FilesystemPlugin is what publishes FilesystemManager into the container, an app still lists it in plugins to get it. Split out of the framework core so it can release on its own schedule.
Install
composer require quioteframework/filesystem
Then enable it:
'plugins' => [ \Quiote\Filesystem\FilesystemPlugin::class, ],
Use
$manager = $context->getContainer()->get(\Quiote\Filesystem\FilesystemManager::class); $manager->disk('local')->write('reports/q1.csv', $csv); $manager->disk()->read('reports/q1.csv'); // filesystem.default_disk
A cloud backend (quioteframework/filesystem-azure, -s3, -gcs) registers its own alias into FilesystemDriverRegistry from its own plugin; nothing here needs to change for that.
License
MIT. See LICENSE.