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

Sdk Laravel Package

upyun/sdk

Official PHP SDK for UPYUN cloud storage, offering simple APIs for uploading, downloading, deleting, and managing files, generating upload tokens, and integrating UPYUN storage and CDN services into Laravel or plain PHP applications.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • China market entry / regional expansion. Whether to serve mainland-China users with localized object storage and CDN without standing up our own infrastructure there. The SDK is the cheapest credible integration path if UPYUN is the chosen vendor.
  • Build vs. buy for the asset layer. Choosing between building a media/storage service versus renting one. UPYUN bundles object storage, CDN, and on-the-fly image processing (thumbnails, watermarks, format conversion), so the SDK collapses three potential build items into one integration. That materially changes the business case — a media pipeline that would cost an engineering quarter can be a two-sprint integration.
  • Media pipeline roadmap. If we offload image transformations to UPYUN via URL parameters rather than running our own ImageMagick/Sharp workers, this SDK is the control-plane piece (upload, delete, purge, token signing) that makes that decision real.
  • CDN/vendor strategy. Whether to stay single-vendor or introduce an abstraction. The SDK is thin enough to hide behind a storage interface (Laravel filesystem / Flysystem-style), so it supports a "one vendor now, swap later" posture.
  • Feature-level decisions. Any feature that ships user-generated or product media to CN users — avatars, listing photos, video posters, downloadable assets — inherits a storage/CDN decision, and this package is the concrete option on the table for those.

When to Consider This Package

Adopt when:

  • We are serving users in mainland China and speed/latency of asset delivery is a real product concern.
  • UPYUN is already the vendor, or is a serious contender on price and China coverage, and we need a PHP/Laravel integration now rather than a six-week custom client.
  • The workload is conventional: upload, download, delete, directory management, CDN refresh/preload, signed URLs, and image-processing parameters.
  • We are willing to fork and pin rather than depend on upstream. Given the last release is mid-2020, treat it as a vendored starting point, not a living dependency.

Look elsewhere when:

  • We need an actively maintained SDK with modern PHP support, typed responses, and current security patches — the 2020 release and low community activity are disqualifying for anything we can't own.
  • The requirement is S3-compatible storage only; the mature, maintained PHP ecosystem around S3/Flysystem is a better fit and avoids an exotic vendor.
  • We need multi-cloud or multi-CDN portability out of the box — this SDK is UPYUN-specific by construction.
  • The team expects a framework-native Laravel filesystem driver with service provider, config publishing, and test fakes. This is a bare SDK; the Laravel ergonomics are ours to build.
  • Compliance/audit constraints require a vendor with a current support contract and regular release cadence.

Practical caveat: the 174 stars and zero listed dependents are a signal about ecosystem maturity, not about correctness. Read the source, confirm the API surface you need, and budget a small fork-maintenance line item before committing.

How to Pitch It (Stakeholders)

To executives: This is a small, low-commitment integration that unlocks serving media to Chinese users without building storage and CDN infrastructure ourselves. It converts a quarter of platform engineering into a short integration, and because it sits behind an interface we can replace the vendor later. The main risk is that the library is not actively maintained — we mitigate by forking it, pinning a version, and owning roughly a day per quarter of upkeep. That is a cheap option on a strategic market question, not a lock-in.

To engineering: It is a thin wrapper over UPYUN's REST API — uploads, deletes, token signing, CDN purge, image-processing parameters — with a handful of dependencies. We will not consume it directly in domain code; it goes behind our storage abstraction so the rest of the app doesn't know the vendor. Expect to fork it, add PHP version/typing fixes, and write our own tests and Laravel wiring. Treat upstream as a reference implementation, and review the signing and error-handling paths before production.

To finance/ops: Costs are usage-based and driven by storage volume and CDN egress, not by the SDK. The engineering cost is the integration plus modest ongoing maintenance of a fork; there is no license cost (MIT).

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.
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core