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 Qiniu

Flysystem Qiniu Laravel Package

overtrue/flysystem-qiniu

Flysystem adapter for Qiniu Cloud Storage (七牛云), letting Laravel/PHP apps read, write, delete, and list files on Qiniu buckets through Flysystem’s filesystem API. Configure access keys, bucket, and domain to use Qiniu for uploads and storage.

View on GitHub
Deep Wiki
Context7

Flysystem adapter for the Qiniu storage.

Frequently asked questions about Flysystem Qiniu
What is overtrue/flysystem-qiniu used for in Laravel?
It is a Flysystem adapter that lets Laravel and PHP applications use Qiniu Cloud Storage buckets through Flysystem's filesystem interface. You can read, write, delete, list, and check files without calling Qiniu's native SDK directly. It also supports generating URLs for public and private resources.
How do I install and configure overtrue/flysystem-qiniu in Laravel?
Install it with Composer and add a Qiniu disk in config/filesystems.php with your access keys, bucket, and domain settings. Because the repository details are not confirmed in the provided context, verify whether the package uses Laravel auto-discovery or needs manual service provider registration. Pin a tested version and keep credentials in environment variables rather than committed config.
Does it register a native Laravel Storage::disk driver?
The overview says it provides Laravel filesystem driver support via a service provider, so Storage::disk usage is the intended integration path. However, the technical evaluation notes that direct driver registration should be verified rather than assumed. Check the package source or README, then test a named disk before relying on it in application code.
Which Laravel, PHP, and Flysystem versions does it support?
The supported version matrix is not specified in the provided context, and the repository is listed as unknown. Check the package composer.json for PHP, Laravel, Flysystem, and Qiniu SDK constraints before installing. Validate the chosen combination in CI and treat major Laravel or Flysystem upgrades as explicit compatibility work.
How do I set Qiniu access keys, bucket, region, and domain?
Configure these values in a Laravel filesystem disk, preferably through environment variables for the access key, secret key, bucket, region, and domain. The overview mentions configurable domain, region, and authentication credentials, but exact option names should be confirmed from the package documentation or source. Use a test bucket first and confirm signed URL behavior with your chosen domain or CDN setup.
Can it generate public and private signed URLs for Qiniu files?
Yes, the package overview states that URL generation is supported for both public and private signed resources. In Laravel, verify how this maps to normal URL and temporary URL calls on the configured disk. Test signed URL expiry, custom domains, CDN behavior, and access permissions before using it for protected assets.
Does it support large uploads, multipart, streaming, and retries?
The provided context does not confirm multipart upload handling, streaming behavior, memory use, or retry semantics. Since the adapter depends on Qiniu SDK and Flysystem version alignment, test large files and failure scenarios directly against your target bucket. For production, pilot these cases and consider an internal wrapper if you need consistent retry or upload policies.
Is overtrue/flysystem-qiniu production-ready and actively maintained?
The technical assessment rates production risk as moderate to high because the package has a modest community footprint, an unknown repository, and dependency alignment concerns. A recent release date is positive but does not prove ongoing maintenance or Laravel compatibility. Pin the version, monitor releases, and keep a fork or exit plan if you adopt it.
How do I test a Qiniu Laravel disk before production?
Start with a non-critical Qiniu test bucket and a pinned package version. Smoke test upload, download, list, delete, exists, URL generation, and signed URL expiry, then add large-file and failure-path tests. Automate integration tests where possible and keep rollback or dual-read options before migrating real assets.
What are alternatives or a fallback if the package is abandoned?
Fallbacks include using Qiniu's official PHP SDK directly, choosing another maintained Flysystem Qiniu adapter, or writing a small custom Flysystem adapter behind Laravel's Storage API. Keep application code on an internal storage interface so you can swap implementations without rewriting upload flows. If the package is abandoned, fork it or migrate the disk configuration after compatibility testing.
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.
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment