Download the PHP package andersundsehr/aus-driver-amazon-s3 without Composer

On this page you can find all versions of the php package andersundsehr/aus-driver-amazon-s3. 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 aus-driver-amazon-s3

Packagist Release Packagist Downloads GitHub License Code Climate Contributors

TYPO3 Extension: Amazon AWS S3 FAL driver (CDN)

This is a driver for the file abstraction layer (FAL) to support Amazon AWS S3.

You can create a file storage which allows you to upload/download and link the files to an AWS S3 bucket. It also supports the TYPO3 CMS image rendering.

Requires TYPO3 11.5 - 12.4

Issue tracking: GitHub: AWS S3 FAL Driver

Packagist: andersundsehr/aus-driver-amazon-s3

Installation

  1. Install the TYPO3 extension via composer (recommended) or install the extension via TER (not recommended anymore).

Composer installation:

  1. Add a new file storage with the “AWS S3” driver to root page (pid = 0).
  2. Configure your file storage

Configuration

Driver Configuration

Add the following configurations:

Hint: Amazon AWS S3 bucket configuration

Make sure that your AWS S3 bucket is accessible to public web users.

For example add the following default permissions to “Edit bucket policy”:

Example permissions:

Extension Configuration

Edit in “Extension Manager” the following extension settings:

Cache Configuration

Customizing TYPO3 Cache Backends

By default, these caches are transient. However, if you choose to configure a persistent cache backend, it's crucial to remember that such a cache will not automatically recognize changes from the data source. In this case, it becomes your responsibility to implement the necessary updates manually.

Detailed instructions on how to customize these cache backends can be found in the TYPO3 CachingFramework Configuration Guide. Remember, thorough testing is essential when modifying cache backends.

Example with simple file backend; all changes through TYPO3

Example with redis

Extend Extension

Initialize S3 Client

If you use your own Amazon AWS SDK, you may want to work with your own S3 client object.

So you have to use the following hook in your own ext_loaclconf.php:

A hook class might look like this:

Initialize public base URL

You can set the public base URL in the configuration of your driver (TYPO3 backend). But maybe you want to set this on an other place.

So you have to use the following hook in your own ext_loaclconf.php:

A hook class might look like this:

Cache Control Header

There is a default setting to set the cache control header's max age for all file types. If you want to use special cache headers, you can use this hook:

You can modify the parameter "cacheControl" as you wish. Please Notice: AWS S3 set the cache header only once - while uploading / creating or copy the file.

More

If you wish other hooks - don’t be shy: GitHub issue tracking: Amazon S3 FAL Driver


All versions of aus-driver-amazon-s3 with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
typo3/cms-core Version ^11.5.6 || ^12.4.5
aws/aws-sdk-php Version ^3.288
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 andersundsehr/aus-driver-amazon-s3 contains the following files

Loading the files please wait ....