v1.0.0 – Initial Release
🎉 v1.0.0 – Initial Release
This is the first official release of yii2-cloudinary, a powerful Cloudinary integration for the Yii2 PHP Framework — built with developer experience and production use in mind.
🚀 Features
- 📦 Upload to Cloudinary using
Yii2CloudinaryComponent::upload() - 🔁 Automatic media-to-model linking using
relationSaverMap+relationKey - 🖼 Cloudinary Upload Widget with:
- runtime config options
- localization via
textoverrides - custom relation handling
- 🌍 Translation system with fallback chain:
- Default component strings (
en) - App-level overrides (
messages/<lang>/uploadWidget.php) - Runtime injection via
uploadWidget()
- Default component strings (
- 📷 Responsive image rendering with:
- automatic
srcsetgeneration - portrait/landscape detection via
cloudinary_image_meta - optional transformation settings
- automatic
- 💡 PhotoSwipe lightbox support using ESM imports and custom thumbnails
- 🧱 Database schema for multilingual media metadata via
yii migrate - 🧪 Includes dev-friendly model examples (
CloudinaryMedia,CloudinaryMediaDesc, etc.) - 📚 Fully documented via Markdown files in project root
📎 Requirements
- Yii2
~2.0 cloudinary/cloudinary_php ^2.0
🧩 Getting Started
composer require bgillieron/yii2-cloudinary
php yii migrate --migrationPath=@yii2cloudinary/migrationsThen configure the component with your Cloudinary credentials, relationSaverMap, and optional upload handler route.
📖 Full instructions: README.md
MIT Licensed – © Brendon Gilliéron