Egnyte Filesystem

Related tags

Miscellaneous egnyte
Overview

Egnyte Filesystem

Latest Version Software License Total Downloads

I was working on Egnyte project for Laravel and didn't find any decent solution so decided to write my own. Inspired by Yespbs\Egnyte.

Install

Via Composer

$ composer require sumanpoudel/egnyte

Usage

$client = new \Suman\Egnyte\Model\File(EgnyteDomain, OAuthToken);

$adapter = new \Suman\Egnyte\EgnyteAdapter($client);

$filesystem = new Filesystem($adapter);

//to get the content of the file
$fileContents = $filesystem->get('/Shared/file.jpg');
//to check file exists
$fileContents = $filesystem->has('file.jpg');
//upload the file
$fileContents = $filesystem->put(fileLocation, contents_of_file);
//move the file 
$fileContents = $filesystem->move(originalLocation, newLocation);
//delete the file/folder
$fileContents = $filesystem->delete(location_of_file_or_folder);

// see the usrl below for more functions 
https://flysystem.thephpleague.com/v2/docs/usage/filesystem-api/

Testing

$ phpunit

Credits

License

The MIT License (MIT). Please see License File for more information.

You might also like...
Aliyun oss filesystem storage adapter for laravel 5. You can use Aliyun OSS just like laravel Storage as usual

Aliyun oss filesystem storage adapter for laravel 5. You can use Aliyun OSS just like laravel Storage as usual

A filesystem-like repository for storing arbitrary resources.

The Puli Repository Component Latest release: 1.0.0-beta10 PHP = 5.3.9 The Puli Repository Component provides an API for storing arbitrary resources

Detects FOSS CMS in the local filesystem

CMS-Garden CMSScanner This tool is developed by the CMS-Garden project. It's designed to scan a local filesystem for installations of the well known F

This publication describes a standard filesystem skeleton suitable for all PHP packages

pds/skeleton This publication describes a standard filesystem skeleton suitable for all PHP packages. Please see https://github.com/php-pds/skeleton_r

Laravel illuminate/filesystem for webman

webman-tech/laravel-filesystem Laravel illuminate/filesystem for webman 介绍 站在巨人(laravel)的肩膀上使文件存储使用更加可靠和便捷 所有方法和配置与 laravel 几乎一模一样,因此使用方式完全参考 Laravel文

Releases(v1.0.6)
Owner
null
Mage2click toolset to create and manage the Magento Docker development environment with mutagen.io file-sync for macOS and native filesystem mounts on Linux.

Mage2click - Magento Docker Toolset Mage2click toolset is a system-wide command-line tool for creating and managing simultaneously running Magento Doc

Mage2click 69 Nov 28, 2022
Laravel illuminate/filesystem for webman

webman-tech/laravel-filesystem Laravel illuminate/filesystem for webman 介绍 站在巨人(laravel)的肩膀上使文件存储使用更加可靠和便捷 所有方法和配置与 laravel 几乎一模一样,因此使用方式完全参考 Laravel文

null 5 Dec 15, 2022
A filesystem-like repository for storing arbitrary resources.

The Puli Repository Component Latest release: 1.0.0-beta10 PHP >= 5.3.9 The Puli Repository Component provides an API for storing arbitrary resources

Puli 435 Nov 20, 2022
PHP library that provides a filesystem abstraction layer − will be a feast for your files!

Gaufrette Gaufrette provides a filesystem abstraction layer. Why use Gaufrette? Imagine you have to manage a lot of medias in a PHP project. Lets see

KNP Labs 2.4k Jan 7, 2023
This package provides an integration with FFmpeg for Laravel. Laravel's Filesystem handles the storage of the files.

Laravel FFMpeg This package provides an integration with FFmpeg for Laravel 6.0 and higher. Laravel's Filesystem handles the storage of the files. Fea

Protone Media 1.3k Jan 7, 2023
Поддержка очередей Redis (и на RabbitMq, и на Filesystem, и через DBAL) в Битриксе

Модуль для Битрикса, организующий работу с очередями через Redis (и не только) Поддерживаемый транспорт: Redis RabbitMq Filesystem DBAL Установка comp

Fedy 4 Aug 20, 2021
Google Cloud Storage filesystem driver for Laravel

Google Cloud Storage filesystem driver for Laravel Google Cloud Storage filesystem driver for Laravel. This started as a fork from Superbalist/laravel

Spatie 88 Dec 16, 2022
A Qiniu Storage filesystem for Laravel

Laravel filesystem Qiniu Qiniu storage for Laravel based on overtrue/flysystem-qiniu. Requirement PHP >= 5.5.9 Installation $ composer require "overtr

安正超 463 Dec 6, 2022
This package provides an integration with FFmpeg for Laravel. Laravel's Filesystem handles the storage of the files.

Laravel FFMpeg This package provides an integration with FFmpeg for Laravel 6.0 and higher. Laravel's Filesystem handles the storage of the files. Lau

Protone Media 1.3k Jan 1, 2023
Mage2click toolset to create and manage the Magento Docker development environment with mutagen.io file-sync for macOS and native filesystem mounts on Linux.

Mage2click - Magento Docker Toolset Mage2click toolset is a system-wide command-line tool for creating and managing simultaneously running Magento Doc

Mage2click 69 Nov 28, 2022