Skip to content

v1.0.0 – Initial Release

Choose a tag to compare

@bgillieron bgillieron released this 15 Jul 08:31
· 1 commit to main since this 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 text overrides
    • custom relation handling
  • 🌍 Translation system with fallback chain:
    • Default component strings (en)
    • App-level overrides (messages/<lang>/uploadWidget.php)
    • Runtime injection via uploadWidget()
  • 📷 Responsive image rendering with:
    • automatic srcset generation
    • portrait/landscape detection via cloudinary_image_meta
    • optional transformation settings
  • 💡 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/migrations

Then configure the component with your Cloudinary credentials, relationSaverMap, and optional upload handler route.

📖 Full instructions: README.md


MIT Licensed – © Brendon Gilliéron