cloudinary / cloudinary_php
Cloudinary PHP SDK
Installs: 10 273 802
Dependents: 103
Suggesters: 3
Security: 0
Stars: 388
Watchers: 46
Forks: 150
Open Issues: 7
Requires
- php: >=5.6.0
- ext-json: *
- cloudinary/transformation-builder-sdk: ^1
- guzzlehttp/guzzle: ^6.5.8|^7.4.5
- guzzlehttp/promises: ^1.5.3|^2.0
- guzzlehttp/psr7: ^1.9.1|^2.5
- monolog/monolog: ^1|^2|^3
- psr/log: ^1|^2|^3
Requires (Dev)
- ext-dom: *
- ext-libxml: *
- ext-zip: *
- consolidation/robo: ~1
- friendsofphp/php-cs-fixer: *
- phpmd/phpmd: *
- squizlabs/php_codesniffer: 3.*
- symfony/phpunit-bridge: ^5.2
- dev-master
- 2.14.0
- 2.13.1
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.2
- 2.10.1
- 2.10.0
- 2.9.2
- 2.9.1
- 2.9.0
- 2.8.0
- 2.7.1
- 2.7.0
- 2.6.1
- 2.6.0
- 2.5.1
- 2.5.0
- 2.4.1
- 2.4.0
- 2.3.0
- 2.2.0
- 2.1.1
- 2.1.0
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 2.0.0-beta8
- 2.0.0-beta7
- 2.0.0-beta6
- 2.0.0-beta5
- 2.0.0-beta4
- 2.0.0-beta3
- 2.0.0-beta2
- 1.20.2
- 1.20.1
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.1
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.1
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.2
- 1.7.1
- 1.7.0
- 1.6.2
- 1.6.1
- 1.6.0
- 1.5.0
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.0
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.17
- 1.0.16
- 1.0.15
- 1.0.14
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- dev-feature/config-admin-api
- dev-feature/search-url
- dev-feature/related-assets
- dev-support/1.x
- dev-feature/expose-http-client
- dev-feature/get-user-by-last-login
- dev-test/psr-log
- dev-test/github-actions
- dev-fix/expression-normalization
- dev-fix/upload-api-signature
- dev-staging-test
This package is auto-updated.
Last update: 2024-10-16 15:38:22 UTC
README
Cloudinary PHP SDK
About
The Cloudinary PHP SDK allows you to quickly and easily integrate your application with Cloudinary. Effortlessly optimize, transform, upload and manage your cloud's assets.
Note
This Readme provides basic installation and usage information. For the complete documentation, see the PHP SDK Guide.
Table of Contents
Key Features
- Transform and optimize assets.
- Generate image and video tags.
- Asset Management.
- Secure URLs.
Version Support
Installation
composer require "cloudinary/cloudinary_php"
Usage
Migration
See the Cloudinary PHP SDK Migration guide for more information on migrating to this version of the PHP SDK.
The previous (1.x) version of the SDK is located here.
Setup
use Cloudinary\Cloudinary; $cloudinary = new Cloudinary();
Transform and Optimize Assets
$cloudinary->image('sample.jpg')->resize(Resize::fill()->width(100)->height(150))->format(Format::auto());
Upload
$cloudinary->uploadApi->upload('my_image.jpg');
Security options
Contributions
- Ensure tests run locally
- Open a PR and ensure Travis tests pass
Get Help
If you run into an issue or have a question, you can either:
- Issues related to the SDK: Open a GitHub issue.
- Issues related to your account: Open a support ticket
About Cloudinary
Cloudinary is a powerful media API for websites and mobile apps alike, Cloudinary enables developers to efficiently manage, transform, optimize, and deliver images and videos through multiple CDNs. Ultimately, viewers enjoy responsive and personalized visual-media experiences—irrespective of the viewing device.
Additional Resources
- Cloudinary Transformation and REST API References: Comprehensive references, including syntax and examples for all SDKs.
- MediaJams.dev: Bite-size use-case tutorials written by and for Cloudinary Developers
- DevJams: Cloudinary developer podcasts on YouTube.
- Cloudinary Academy: Free self-paced courses, instructor-led virtual courses, and on-site courses.
- Code Explorers and Feature Demos: A one-stop shop for all code explorers, Postman collections, and feature demos found in the docs.
- Cloudinary Roadmap: Your chance to follow, vote, or suggest what Cloudinary should develop next.
- Cloudinary Facebook Community: Learn from and offer help to other Cloudinary developers.
- Cloudinary Account Registration: Free Cloudinary account registration.
- Cloudinary Website: Learn about Cloudinary's products, partners, customers, pricing, and more.
Licence
Released under the MIT license.