PHP Classes

Flysystem Cloudinary: Access files stored in Cloudinary using Flysystem

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 33 All time: 11,091 This week: 96Up
Version License PHP version Categories
flysystem-cloudinary 1.0GNU General Publi...5PHP 5, Files and Folders, Web services
Description 

Author

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

Picture of Carlos Carvalho
  Performance   Level  
Name: Carlos Carvalho <contact>
Classes: 8 packages by
Country: Brazil Brazil
Innovation award
Innovation award
Nominee: 2x

Documentation

flysystem-cloudinary

Adapter for theleague php flysystem for Cloudinary

Codacy Badge Author Latest Stable Version Total Downloads Latest Unstable Version License Build Status PHP Composer codecov

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]


  Files folder image Files (17)  
File Role Description
Files folder image.github (1 directory)
Files folder imagesrc (1 file)
Files folder imagetests (6 files)
Accessible without login Plain text file .env Data Auxiliary data
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file clover.xml Data Auxiliary data
Accessible without login Plain text file codecov.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file _config.yml Data Auxiliary data

  Files folder image Files (17)  /  .github  
File Role Description
Files folder imageworkflows (1 file)

  Files folder image Files (17)  /  .github  /  workflows  
File Role Description
  Accessible without login Plain text file php.yml Data Auxiliary data

  Files folder image Files (17)  /  src  
File Role Description
  Plain text file CloudinaryAdapter.php Class Class source

  Files folder image Files (17)  /  tests  
File Role Description
  Plain text file ApplicationCase.php Class Class source
  Plain text file CloudinaryAdapterTest.php Class Class source
  Plain text file DirectoryTest.php Class Class source
  Accessible without login Image file logo-git.png Icon Icon image
  Accessible without login Image file logo-update.png Icon Icon image
  Plain text file StreamTest.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:33
This week:0
All time:11,091
This week:96Up