Download the PHP package moderntribe/tribe-storage without Composer

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

Tribe Storage

PHPCS + Unit Tests php 7.4+

This WordPress plugin works as a bridge to use Flysystem adapters (v1) within WordPress. This plugin is meant to be installed and configured by developers, as it has no GUI.

Currently Supported Adapters

Recommendations

It is highly recommended to set your WP_CONTENT_URL to the base site on a multisite installation.

In wp-config.php:

Installation

Requirements

Install with Composer v1

Add the following to the composer.json repositories object:

Then run:

Adapters

Adapters allow different interfaces to different storage providers. In order to tell the system which adapter to use, add a TRIBE_STORAGE_ADAPTER define() to wp-config.php with the namespaced path to the adapter (same output as Class_Name::class), e.g to use the Azure Storage Adapter:

define( 'TRIBE_STORAGE_ADAPTER', 'Tribe\Storage\Adapters\Azure_Adapter' );

Local Adapter

This is the default adapter and is pointed to WP_CONTENT_DIR . /uploads. If you have not configured any custom adapters, this will automatically be used and should function exactly as WordPress does out of the box.

NOTE: A misconfigured adapter will always use the Local Adapter and show a notice in the WordPress Dashboard.

Azure Storage Adapter

To configure this Adapter, add and customize the following defines to your wp-config.php:

Image Editor Customization

Force a custom Image Editor Strategy if Imagick or GD are experiencing issues like 500 errors with no logs.

Caching

Transient Database Caching (default)

Caching is saved via WordPress transients, automatically forced to use the database even if external object caching is available. The Flysystem cache adapters unfortunately save the entire output into a single key.

If you're using Redis or Memcached (with a much greater than a 1mb limit), you can disable this with:

Disable Caching

If you have any issues with the cache, you can disable it by adding the following to wp-config.php:

define( 'TRIBE_STORAGE_NO_CACHE', true );

Automated Testing

Testing provided via PHPUnit and the Brain Monkey testing suite.

Run Unit Tests

Adding Flysystem Adapters

Create a Flysystem bridge. See /src/Adapters/Adapter.php.

Adapter::get(): AdapterInterface;

The get() method should return a configured Flysystem adapter.

More Resources:


All versions of tribe-storage with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
php-di/php-di Version ^6.0
league/flysystem-azure-blob-storage Version ^1.0
league/flysystem-cached-adapter Version ^1.1
intervention/image Version ^2.5
symfony/lock Version ^5.2
jhofm/flysystem-iterator Version ^2.2
moderntribe/flysystem-stream-wrapper Version ^2.0
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 moderntribe/tribe-storage contains the following files

Loading the files please wait ....