Ratings | | Unique User Downloads | | Download Rankings |
Not yet rated by the users | | Total: 31 | | All time: 10,798 This week: 189 |
|
Description | | Author carlosocarvalho
Contributor
|
This package can be used to access files stored in Cloudinary using Flysystem.
It provides adapter classes to use the Flysystem package to perform several types of operations with files stored in Cloudinary hosting service. Currently it can:
- Write to new or existing files using data or passing another opened file
- Rename a file
- Copy a file
- Delete a file
- Delete a directory
- Create a directory
- Check if a file or directory exists
- Read data from a file
- List contents of a directory
- Get attributes of a file or directory
- Get the size of a file
- Get the MIME type of a file
- Get the last time a file was changed
| |
 |
|
Innovation award
 Nominee: 1x |
|
Details
flysystem-cloudinary
Adapter for theleague php flysystem for Cloudinary

Install
composer require carlosocarvalho/flysystem-cloudinary
Example
use CarlosOCarvalho\Flysystem\Cloudinary\CloudinaryAdapter as Adapter;
$config = [
'api_key' => ':key',
'api_secret' => ':secret',
'cloud_name' => ':name',
];
$container = new Adapter($config);
$filesystem = new League\Flysystem\Filesystem( $container );
List contents and others actions use Filesystem api
$filesystem->listContents()
For use in laravel
[https://github.com/carlosocarvalho/laravel-storage-cloudinary]
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.