Flysystem Cloudinary: Access files stored in Cloudinary using Flysystem

Recommend this page to a friend!
  Info   Documentation   View files (17)   Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2020-07-01 (1 month ago) Not yet rated by the usersTotal: 28 All time: 9,953 This week: 257
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: 6 packages by
Country: Brazil Brazil
Age: 37
All time rank: 3214242 in Brazil Brazil
Week rank: 713 35 in Brazil Brazil
Innovation award
Innovation award
Nominee: 1x

Details

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  
File Role Description
.github (1 directory)
src (1 file)
tests (6 files)
.env Data Auxiliary data
.travis.yml Data Auxiliary data
clover.xml Data Auxiliary data
codecov.yml Data Auxiliary data
composer.json Data Auxiliary data
composer.lock Data Auxiliary data
phpunit.xml Data Auxiliary data
README.md Doc. Documentation
_config.yml Data Auxiliary data

  Files  /  .github  
File Role Description
workflows (1 file)

  Files  /  .github  /  workflows  
File Role Description
   php.yml Data Auxiliary data

  Files  /  src  
File Role Description
   CloudinaryAdapter.php Class Class source

  Files  /  tests  
File Role Description
   ApplicationCase.php Class Class source
   CloudinaryAdapterTest.php Class Class source
   DirectoryTest.php Class Class source
   logo-git.png Icon Icon image
   logo-update.png Icon Icon image
   StreamTest.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:28
This week:0
All time:9,953
This week:257

For more information send a message to info at phpclasses dot org.