tourze/aliyun-vod-bundle
Symfony bundle that integrates Aliyun Video on Demand (VOD) into your application, with configuration, dependency injection wiring, and convenient access to upload, playback, transcoding, and media management APIs via the Aliyun PHP SDK.
This package wraps Alibaba Cloud's Video on Demand (VOD) service for PHP. It exposes the Aliyun SDK's upload, transcoding, playback, and media-management capabilities behind a container-managed service so you can inject a client instead of wiring the raw SDK yourself.
composer require tourze/aliyun-vod-bundlesrc/ — Tourze packages are Symfony bundles, so look for the *Bundle class plus Resources/config/services.yaml. That service definition is your map of what actually gets registered.access_key_id, access_key_secret, region_id (or endpoint), and any default transcode template group / storage location.video_id. That exercises credentials + endpoint + signing in one shot and confirms the bundle is wired correctly before you touch uploads.Because the package is at 0.1.0, read the src/ tree before assuming a Laravel-style facade exists — there is no stable public API contract yet.
ServiceProvider and alias it to an interface. Inject that interface into controllers/jobs rather than calling the Aliyun SDK statically — it keeps you testable and lets you swap config per environment.access_key_secret.auto-discovery in the Laravel sense. Expect to manually register the service provider and merge config yourself. This is the single biggest integration surprise.0.x = unstable API. Anything can change between minor releases; pin the version in composer.json and skim the diff before bumping. No changelog detail is shipped with 0.1.0 beyond a compare link, so treat release notes as informational only.region_id, bucket, and CDN domain must all belong to the same VOD region.auth_key / expiry) is easy to get subtly wrong: clock skew and URL-encoding of special characters cause silent 403s. Log the exact signed URL and expiry when debugging.access_key_*; use .env + config() and fail fast on missing values at boot.0.x bundle are maintenance traps.How can I help you explore Laravel packages today?