Looking to hire Laravel developers? Try LaraJobs

laravel-seaweedfs maintained by arnold

Description
A SeaweedFS implementation for Laravel (supporting Filesystems)
Author
Last update
2022/03/23 09:36 (dev-main)
License
Links
Downloads
105

Comments
comments powered by Disqus

Laravel-SeaweedFS

A Laravel integration of seaweedfs-client with implementations making it useful for file storage, and using Laravel's own cache/database functionality for caching and mapping.

This package is pretty much untested and might not be production ready.

Configuration

All configuration options can be found in config/seaweedfs.php after publishing the vendor config:

php artisan vendor:publish --provider="SeaweedFS\Laravel\SeaweedFSProvider"

Required keys for a connection are master, optional are cache, cache_store, and scheme.

Storage Mapping

As mentioned in flysystem-seaweedfs, this flysystem implementation uses a Mapping class that does NOT use the SeaweedFS Filer.

That being said, any read/write operations can use paths that map to a seaweedfs file, and URLs to the files may be generated using the Storage::url() method.