iidestiny/flysystem-oss
Flysystem adapter for Alibaba Cloud OSS (Aliyun Object Storage Service). Integrate OSS storage with Laravel and PHP apps using Flysystem, enabling file uploads, reads, deletes, and URL generation through a familiar filesystem API.
Storage facade, it lets you keep Storage::disk('oss') as a swappable driver. That supports a multi-cloud posture (S3 in US/EU, OSS in China, local in dev) without forking product code or rewriting upload paths.Adopt when most of these are true:
Storage as the file API.Look elsewhere or plan to build when:
x-oss-process), Select, Inventory, lifecycle/rule management, cross-region replication, CDN integration, or fine-grained RAM/STS policy flows. Those usually mean the official Alibaba SDK alongside, or a custom driver.To executives: This is a small, cheap dependency that unblocks shipping in China and any OSS-mandated region. It converts a multi-day infrastructure task into a configuration change, keeps our storage layer swappable so we aren't locked to one cloud, and lets us pursue OSS pricing advantages for data-heavy features. The cost is a low-risk integration plus a modest ongoing maintenance allowance; the upside is market access and engineering capacity redirected to product.
To engineering: It's a Flysystem adapter for OSS, so it drops behind Laravel's Storage facade and gives us Storage::disk('oss') with the same API as local or S3. Treat it as a commodity dependency, not a platform: pin the version, hide it behind our own storage interface, and smoke-test signed URLs, visibility, and large/multipart uploads early. Assume we may need to fork it or supplement with the official Alibaba SDK for advanced OSS features, and budget a small amount of ownership accordingly. Recommendation: adopt for a pilot bucket, validate in-region performance and auth (RAM/STS), then roll out per environment.
How can I help you explore Laravel packages today?