speicher210/cloudinary-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

speicher210/cloudinary-bundle

最新稳定版本:0.16.1

Composer 安装命令:

composer require speicher210/cloudinary-bundle

包简介

Bundle for Cloudinary PHP API library

README 文档

README

Latest Version Software License GitHub branch checks state

Install

Add speicher210/cloudinary-bundle to your composer.json file:

composer require "speicher210/cloudinary-bundle"

Register the bundle:

<?php // config/bundles.php return [ // ... Speicher210\CloudinaryBundle\Speicher210CloudinaryBundle::class => ['all' => true], // ... ];

Usage

Configure the connection to cloudinary in your config.yaml :

speicher210_cloudinary: url: cloudinary://my-key:my-secret@my-cloud # The next configuration variables should be defined if they are not present in the URL # The URL will take precedence cloud_name: my-cloud access_identifier: api_key: my-key api_secret: my-secret secure: true

The following services will be available:

$this->get('speicher210_cloudinary.cloudinary'); // Extension of Cloudinary from cloudinary package. $this->get('speicher210_cloudinary.api'); // Extension of Cloudinary\Api from cloudinary package. $this->get('speicher210_cloudinary.uploader'); // Extension of Cloudinary\Uploader from cloudinary package.

You can pass the same options to the twig filter or function:

{{ cloudinary-public-id | cloudinary_url({'width': 50, 'height': 50, 'crop': 'fill'}) }} {{ cloudinary_url('cloudinary-public-id', {'width': 50, 'height': 50, 'crop': 'fill'}) }} {{ cloudinary_image_tag('cloudinary-public-id', {'height' : 150}) }} {{ cloudinary_video_tag('cloudinary-public-id', {'height' : 150}) }}

For further documentation see Cloudinary PHP library

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 156.9k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 1
  • 推荐数: 1

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固