Download the PHP package verseles/flyclone without Composer

On this page you can find all versions of the php package verseles/flyclone. 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 flyclone

Verseles\Flyclone

PHP wrapper for rclone

PHPUnit

Flyclone provides an intuitive, object-oriented interface for interacting with rclone, the powerful command-line program for managing files on cloud storage.

Key Features

Supported Providers

Flyclone supports a wide array of rclone providers, including:

Installation

Requires PHP >= 8.4.

Usage

Configuration Basics

1. Provider Setup: Each storage backend (local disk, S3 bucket, SFTP server, etc.) is represented by a Provider class. You'll instantiate a provider with a unique nickname and its rclone configuration parameters.

2. Obscuring Secrets: Rclone (and therefore Flyclone) often requires sensitive information like API keys or passwords. It's highly recommended to use rclone's obscure feature for passwords. Flyclone provides a helper for this:

3. Rclone Binary Path (Optional): Flyclone attempts to locate the rclone binary automatically. If it's installed in a non-standard location, you can specify the path:

Instantiating Rclone

You create an Rclone instance with one or two providers:

Common Operations

List files (ls)
Create a directory (mkdir)
Copy files/directories (copy, copyto)
Move files/directories (move, moveto)
Sync directories (sync)
Delete files/directories (delete, deletefile, purge, rmdir)
Check existence (is_file, is_dir)
Read file content (cat)
Write content to a file (rcat)
Get size of files/directories (size)
Upload a local file (upload_file)
Download a remote file (download_to_local)
Copy with progress reporting

Advanced Usage & Tips

To-do

Testing

Install Docker and Docker Compose, then run:

There are other test targets in the makefile (e.g., test_dropbox, test_gdrive), but they require you to fill the .env file with actual credentials for those services.

Contribution

You know the drill: Fork, branch, code, test, PR! Contributions are welcome.

License

Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International


All versions of flyclone with dependencies

PHP Build Version
Package Version
Requires php Version >=8.4
ext-json Version *
symfony/process Version ^7
spatie/once Version ^3.0.1
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 verseles/flyclone contains the following files

Loading the files please wait ....