Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Flysystem Oss Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • China-market expansion / data residency: If the roadmap includes serving users in mainland China, OSS is often the pragmatic choice for object storage (latency, ICP/compliance posture, and local vendor support). This package lets the existing Laravel Storage facade continue to work unchanged, so China becomes a configuration decision rather than a re-architecture decision.
  • Build vs. buy for storage plumbing: Rather than writing and maintaining a custom OSS driver, this gives a thin Flysystem adapter (MIT, ~one dependency) so engineering time goes to product features instead of filesystem glue.
  • Multi-cloud / portability strategy: Because it plugs into Flysystem, the product can treat object storage as a swappable backend (S3, OSS, R2, local). That preserves negotiating leverage with cloud vendors and de-risks a future migration.
  • Feature work that depends on storage: user uploads/avatars, media libraries, document attachments, CSV/report exports, database and log backups, static asset hosting behind a CDN. Any of these shipping on the roadmap implies a storage-adapter decision — this is one of the candidates.
  • Cost optimization: For teams already on Alibaba Cloud, consolidating on OSS can reduce egress and cross-cloud transfer costs versus running S3 in parallel; a Flysystem adapter keeps the switch low-effort.
  • Prioritization signal: With 3 stars and 0 dependents, this is not an ecosystem default. Favor it only when an existing Flysystem-based codebase makes the swap trivial; otherwise budget a small evaluation spike before committing roadmap work to it.

When to Consider This Package

Consider it when:

  • The app is already on Laravel with Flysystem v2/v3 and uses the Storage facade; adopting an adapter is a composer require + disk-config change.
  • OSS is already (or will be) the storage backend, especially for China-region deployments or data-residency requirements.
  • You want a minimal, MIT-licensed dependency rather than pulling in a heavier SDK wrapper, and you're comfortable pinning a version and forking if needed.
  • You need OSS support now and can accept a smaller community footprint in exchange for speed.
  • You're running a time-boxed evaluation (a day or two) to validate upload/download/signed-URL behavior in a staging bucket before committing.

Look elsewhere when:

  • You need a battle-tested, widely adopted driver with active issue triage and community answers — evaluate the more established iidestiny/flysystem-oss or aliyuncs/oss-sdk-php directly instead.
  • Your platform is not Laravel/Flysystem (e.g., raw PHP, Symfony without Flysystem, Node/Go services) — use the official Alibaba Cloud SDKs.
  • You depend on advanced OSS semantics — multipart thresholds, server-side encryption with KMS, image-processing styles, versioning, lifecycle rules, or fine-grained RAM/STS credentials. Verify each explicitly; a thin adapter may not surface them, and a native-SDK integration may be required.
  • You're on older Laravel/Flysystem 1.x — confirm version compatibility before planning around it.
  • Long-term maintenance risk is unacceptable (regulated, multi-year support horizon) without a plan to vendor/fork the code and own it internally.
  • S3-compatible endpoints would suffice — league/flysystem-aws-s3-v3 against an S3-compatible provider is a lower-risk default.

How to Pitch It (Stakeholders)

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource