Download the PHP package argentcrusade/flysystem-selectel without Composer

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

Flysystem Adapter for Selectel Cloud Storage

Build Status StyleCI ScrutinizerCI Latest Version on Packagist

Requirements

This package requires PHP 5.6 or higher.

Installation

You can install the package via composer:

Upgrade

From 1.0* to 1.1.0

New setting container_url was added. You can set your container's custom domain here (for example, https://static.example.org) and this option will be used when retrieving fully qualified URLs to files and directories.

Usage

Laravel Integration

You can use this adapter with Laravel's Storage System.

If you're running Laravel 5.5+ this package will auto-added to your providers list via auto-discovery feature (requires version 1.2+ of this package).

Laravel <= 5.4

Add ArgentCrusade\Flysystem\Selectel\SelectelServiceProvider::class to your providers list in config/app.php

All Laravel versions

Add selectel disk to config/filesystems.php configuration file (disks section):

container_url setting (new in version 1.1.0) allows you to override default Selectel's CDN domain (if you have custom domain attached). You may omit this setting if you're using default domain, file URLs will look like http://XXX.selcdn.ru/container_name/path/to/file.txt, where XXX - your unique subdomain (X-Storage-Url header value).

Now you can use Selectel disk as

Also you may want to set selectel as default disk to ommit disk('selectel') calls and use storage just as Storage::put('file.txt', 'Hello world').

For more info please refer to Laravel's Storage System documentation.

Unsupported methods

Due to the implementation of the Selectel API some methods are missing or may not function as expected.

Visibility management

Selectel provides visibility support only for Containers, but not for files. The change of visibility for the entire container instead of a single file/directory may be confusing for adapter users. Adapter will throw LogicException on getVisibility/setVisbility calls.

Directories management

Currently Selectel Adapter can display and delete only those directories that were created via createDir method. Dynamic directories (those that were created via write/writeStream methods) can not be deleted or listed as directory.

Note on Closing Streams

Selectel Adapter leaves the streams open after consuming them. Make sure that you've closed all streams that you opened.

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

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-selectel with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6
league/flysystem Version ~1.0
argentcrusade/selectel-cloud-storage Version ~1.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 argentcrusade/flysystem-selectel contains the following files

Loading the files please wait ....