PHP Classes

Flysystem Cloudinary: Access files stored in Cloudinary using Flysystem

Recommend this page to a friend!
  Info   View files Documentation   View files View files (17)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 32 This week: 1All time: 10,989 This week: 560Up
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: 41
All time rank: 3246245 in Brazil Brazil
Week rank: 416 Up36 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 1x

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  
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  /  .github  
File Role Description
Files folder imageworkflows (1 file)

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

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

  Files folder image Files  /  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

 Version Control Unique User Downloads Download Rankings  
 100%
Total:32
This week:1
All time:10,989
This week:560Up