{"id":32999749,"url":"https://github.com/yoelpc4/laravel-cloudinary","last_synced_at":"2026-01-16T00:35:44.408Z","repository":{"id":40381660,"uuid":"245958161","full_name":"yoelpc4/laravel-cloudinary","owner":"yoelpc4","description":"Laravel Cloudinary filesystem cloud driver.","archived":false,"fork":false,"pushed_at":"2025-04-14T18:56:11.000Z","size":84,"stargazers_count":33,"open_issues_count":0,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-28T01:05:06.540Z","etag":null,"topics":["cloudinary","cloudinary-integration","laravel","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yoelpc4.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-09T06:16:42.000Z","updated_at":"2025-09-09T04:17:34.000Z","dependencies_parsed_at":"2024-06-21T07:11:14.401Z","dependency_job_id":"36d95d16-13a8-4ca7-aae9-f1510cd91e76","html_url":"https://github.com/yoelpc4/laravel-cloudinary","commit_stats":{"total_commits":83,"total_committers":3,"mean_commits":"27.666666666666668","dds":0.02409638554216864,"last_synced_commit":"388a1161696a33066678689173e4e25b558ca2f1"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/yoelpc4/laravel-cloudinary","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoelpc4%2Flaravel-cloudinary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoelpc4%2Flaravel-cloudinary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoelpc4%2Flaravel-cloudinary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoelpc4%2Flaravel-cloudinary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yoelpc4","download_url":"https://codeload.github.com/yoelpc4/laravel-cloudinary/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoelpc4%2Flaravel-cloudinary/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285879574,"owners_count":27247109,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-22T02:00:05.934Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloudinary","cloudinary-integration","laravel","php"],"created_at":"2025-11-13T13:00:27.152Z","updated_at":"2025-11-23T00:02:25.174Z","avatar_url":"https://github.com/yoelpc4.png","language":"PHP","readme":"# Laravel Cloudinary\n\n[![Packagist][ico-packagist]][link-packagist]\n[![Downloads][ico-downloads]][link-packagist]\n[![Tests][ico-tests]][link-tests]\n[![Code Coverage][ico-code-coverage]][link-code-coverage]\n[![Software License][ico-license]](LICENSE.md)\n[![Contributor Covenant][ico-code-of-conduct]](CODE_OF_CONDUCT.md)\n\n_Laravel Cloudinary filesystem driver._\n\n## Requirement\n\n- [Laravel](https://laravel.com)\n- [Cloudinary Account Details](https://cloudinary.com)\n\n## Laravel Version Compatibilities\n\n| Laravel | Package |\n|---------|---------|\n| 12.x.x  | 6.x     |\n| 11.x.x  | 5.x     |\n| 10.x.x  | 4.x     |\n| 9.x.x   | 3.x     |\n| 8.x.x   | 2.x     |\n| 7.x.x   | 2.x     |\n| 6.x.x   | 2.x     |\n\n## Install\n\nRequires this package with composer via command:\n\n```shell\ncomposer require yoelpc4/laravel-cloudinary\n```\n\n## Environment Variable\n\nRegister your Cloudinary account details [here](https://cloudinary.com/console).\nThen add these lines to your .env.\n\n```dotenv\nFILESYSTEM_DISK=cloudinary\n\nCLOUDINARY_API_KEY=\nCLOUDINARY_API_SECRET=\nCLOUDINARY_CLOUD_NAME=\nCLOUDINARY_SECURE=true\n```\n\n## Filesystem Configuration\n\nRegister cloudinary driver configuration in `config/filesystems.php` at disks section as follows\n\n```php\n'cloudinary' =\u003e [\n    'driver'         =\u003e 'cloudinary',\n    'api_key'        =\u003e env('CLOUDINARY_API_KEY'),\n    'api_secret'     =\u003e env('CLOUDINARY_API_SECRET'),\n    'cloud_name'     =\u003e env('CLOUDINARY_CLOUD_NAME'),\n    'secure'         =\u003e env('CLOUDINARY_SECURE', true),\n    'resource_types' =\u003e [\n        'image' =\u003e [\n            'png',\n            'jpeg',\n            'jpg',\n        ],\n        'video' =\u003e [\n            'mp4',\n            'avi',\n            'mp3',\n            'flac',\n        ],\n        'raw'   =\u003e [\n            'pdf',\n            'xlsx',\n            'csv',\n            'txt',\n        ],\n    ],\n],\n```\n\nThe secure option is applied when generating url from storage, when `secure = true` will use `https`\notherwise `secure = false` will use `http` as protocol.\n\nThe resource_types option is applied when generating resource type \u0026 public id whenever we call storage method such as\nwrite, writeStream, url, has, etc. Registers the appropriate file extensions according to cloudinary resource type e.g:\npng in image, mp4 in video, xlsx in raw, for audio files registers in video. `The default resource type is image`,\nvisit [image upload api reference](https://cloudinary.com/documentation/image_upload_api_reference#upload_method) for more information.\n\n## Tips\n\nTo use pre-defined filename as public ID when uploading to cloudinary, you need to tweak some configuration\nin `Settings -\u003e Upload -\u003e Upload presets` as follows:\n\n- Click edit button on signed mode preset, initial preset is `ml_default` you can update it.\n\n- Turn on `Use filename or externally defined public ID` to using the pre-defined filename instead of random characters.\n\n- Turn off `Unique filename` to prevent cloudinary from adding random characters at the end of filename.\n- Click `Save` and you're good to go.\n\n## License\n\nThe Laravel Cloudinary is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).\n\n[ico-packagist]: https://img.shields.io/packagist/v/yoelpc4/laravel-cloudinary.svg?style=flat-square\n[ico-downloads]: https://img.shields.io/packagist/dt/yoelpc4/laravel-cloudinary.svg?style=flat-square\n[ico-tests]: https://github.com/yoelpc4/laravel-cloudinary/actions/workflows/tests.yml/badge.svg?style=flat-square\n[ico-code-coverage]: https://codecov.io/gh/yoelpc4/laravel-cloudinary/branch/master/graph/badge.svg?style=flat-square\n[ico-license]: https://img.shields.io/packagist/l/yoelpc4/laravel-cloudinary.svg?style=flat-square\n[ico-code-of-conduct]: https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg\n\n[link-packagist]: https://packagist.org/packages/yoelpc4/laravel-cloudinary\n[link-tests]: https://github.com/yoelpc4/laravel-cloudinary/actions/workflows/tests.yml\n[link-code-coverage]: https://codecov.io/gh/yoelpc4/laravel-cloudinary\n","funding_links":[],"categories":["Tools"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoelpc4%2Flaravel-cloudinary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoelpc4%2Flaravel-cloudinary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoelpc4%2Flaravel-cloudinary/lists"}