PHPackages                             tystuyfzand/flysystem-seaweedfs - 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. tystuyfzand/flysystem-seaweedfs

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

tystuyfzand/flysystem-seaweedfs
===============================

A Flysystem adapter for SeaweedFS

v1.1.1(1y ago)110721ISCPHP

Since May 23Pushed 1y ago1 watchersCompare

[ Source](https://github.com/tystuyfzand/flysystem-seaweedfs)[ Packagist](https://packagist.org/packages/tystuyfzand/flysystem-seaweedfs)[ RSS](/packages/tystuyfzand-flysystem-seaweedfs/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (2)Versions (5)Used By (1)

Flysystem-SeaweedFS
===================

[](#flysystem-seaweedfs)

A **very experimental** Flysystem adapter for SeaweedFS.

This does ***NOT*** use the SeaweedFS Filer, instead it maintains file mappings internally for paths. This is useful for internal storage purposes, and not externally linking files.

Mapping
-------

[](#mapping)

The `SeaweedFS\Filesystem\Mapping\Mapper` interface can be extended for Databases, Filesystems, etc. It is used to link paths to the file id and metadata.

Mappings should contain the following data:

- fid (volume,file cookie)
- mimeType (mime type, text/plain, etc)
- size (File size as reported by SeaweedFS when storing)

Example
-------

[](#example)

```
