zing/flysystem-oss
Flysystem adapter for Alibaba Cloud OSS (Aliyun) that lets Laravel and PHP applications read, write, and manage files on OSS through a unified filesystem API. Suitable for cloud storage, uploads, backups, and CDN-backed assets.
Storage facade continue to work unchanged, so China becomes a configuration decision rather than a re-architecture decision.Consider it when:
Storage facade; adopting an adapter is a composer require + disk-config change.Look elsewhere when:
iidestiny/flysystem-oss or aliyuncs/oss-sdk-php directly instead.league/flysystem-aws-s3-v3 against an S3-compatible provider is a lower-risk default.For executives: This is a small, free (MIT) connector that lets our Laravel application store files in Alibaba Cloud OSS without custom engineering. It matters for two reasons: it unblocks China-market and data-residency requirements at low cost, and because it fits our existing storage abstraction, it keeps us portable — we can move between cloud storage providers without rewriting features. The trade-off is maturity: the package is new and has a tiny user base (3 GitHub stars, no downstream dependents), so we should treat it as a low-cost, reversible bet — a short evaluation now, with the option to fork and own the code (~a few hundred lines) if we commit.
For engineering: It's a Flysystem adapter for OSS, so it slots into the Storage facade with a config change — no new abstractions to learn. Risks are the usual ones for a single-maintainer, zero-dependent package: bus factor of one, limited community validation, and unclear coverage of advanced OSS features. Mitigations: pin the exact version, wrap it behind our own storage service/interface, add integration tests against a staging bucket, and keep the native aliyuncs/oss-sdk-php path as a documented fallback. Recommend a time-boxed spike to validate upload, download, signed URLs, and large-file behavior before we plan on it.
How can I help you explore Laravel packages today?