Download the PHP package kapersoft/flysystem-sharefile without Composer

On this page you can find all versions of the php package kapersoft/flysystem-sharefile. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package flysystem-sharefile

Flysystem adapter for Citrix ShareFile

Latest Version on Packagist Build Status StyleCI Quality Score Total Downloads

This package contains a Flysystem adapter for Citrix ShareFile. Under the hood my Sharefile API package is used.

Installation

You can install the package via composer:

Usage

The first thing you need to do is get an OAuth2 key. Go to the Get an API key section on the ShareFile API site to get this key.

With an OAuth2 key you can instantiate a Kapersoft\Sharefile\Client and setup the Flysystem adapter:

Changelog

Please see CHANGELOG for more information what has changed recently.

Testing

In the /tests-folder are two tests defined

To start both tests type in your terminal:

SharefileAdapterTest.php tests the Kapersoft\FlysystemSharefile\SharefileAdapter-class using phpspec prophecy and mock objects.

SharefileAdapterFunctionalTest.php is a set of functional tests using an online ShareFile drive . To enable this test, fill in your ShareFile credentials under section <PHP> of the phpunit.xml.dist-file in the project root folder. Each test will create the folder named Flysystem-sharefile-test in your personal ShareFile drive for storing temporary test-files. When the test is completed, the Flysystem-sharefile-test-folder will be removed. A WebDav connection to your ShareFile drive is used to assert all tests. Note: Make sure WebDav is enabled for your ShareFile account (see https://support.citrix.com/article/CTX207863 for more information).

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

License

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


All versions of flysystem-sharefile with dependencies

PHP Build Version
Package Version
Requires php Version ^7.0
ext-curl Version *
kapersoft/sharefile-api Version ^1.1.0
league/flysystem Version ^1.0.41
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kapersoft/flysystem-sharefile contains the following files

Loading the files please wait ....