Download the PHP package kinetis/storage-s3 without Composer

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

kinetis/storage-s3
S3 (and S3-compatible) file storage for Kinetis, plugging into kinetis/storage's FILESYSTEM_DRIVER=s3

Packagist Version Packagist Downloads PHP Version License CI


Part of Kinetis, a non-blocking PHP framework for API-first applications, developed in the kinetis-dev/kinetis monorepo.

The same League\Flysystem\FilesystemOperator interface kinetis/storage gives local disk, backed by League\Flysystem\AsyncAwsS3\AsyncAwsS3Adapter over an AsyncAws S3 client instead. Every call travels on kinetis/revolt-http-client's Revolt-native HTTP transport, injected in place of the SDK's default blocking one, so it suspends the calling Fiber.

Objects are private and writes and copies carry no ACL, so a bucket with Object Ownership set to bucket owner enforced works unchanged; grant public read through a bucket policy. The failures S3 reports under HTTP 200 — a broken copy, a batch delete that refused keys — are read rather than taken as success. deleteDirectory() lists and deletes one page of at most 1,000 keys at a time, so a failure part-way leaves earlier pages deleted.

Configuration

Key Default Purpose
FILESYSTEM_S3_BUCKET (required) Bucket name.
FILESYSTEM_S3_REGION (required) AWS region.
FILESYSTEM_S3_PREFIX — Key prefix.
FILESYSTEM_S3_ENDPOINT — S3-compatible endpoint instead of AWS (e.g. MinIO) — one origin, addressed path-style.
FILESYSTEM_S3_PLAINTEXT false Allow an http:// endpoint.
FILESYSTEM_S3_TIMEOUT 60 Seconds per S3 request — connect, idle and transfer alike, not one deadline per operation.
FILESYSTEM_S3_ACCESS_KEY_ID — Static access key for this connection only; set with the secret or not at all.
FILESYSTEM_S3_SECRET_ACCESS_KEY — Secret for FILESYSTEM_S3_ACCESS_KEY_ID.

Every key is scoped — FILESYSTEM_S3_BUCKET + backups → FILESYSTEM_BACKUPS_S3_BUCKET. Full reference: kinetis.dev/docs/config.html.

With both credential keys set, the connection signs with exactly those keys and nothing else, so an S3-compatible service's keys stay out of the AWS_* variables other AWS clients in the process read. Without them, AsyncAws's standard provider chain resolves credentials. Every provider in that chain that calls AWS uses the same Revolt transport as the client, while the shared credentials and config files and any token file are read with native blocking calls. Full detail: kinetis.dev/docs/storage-s3.html.

Installation

Requires PHP 8.4+, kinetis/framework, kinetis/storage, and kinetis/revolt-http-client. Full documentation: kinetis.dev/docs/storage-s3.html.

License

MIT — see LICENSE.


All versions of storage-s3 with dependencies

PHP Build Version
Package Version
Requires php Version >=8.4 <8.6
kinetis/framework Version ^1.31.0
kinetis/storage Version ^1.2.9
kinetis/revolt-http-client Version ^1.9.2
amphp/http-client Version ^5.3.6
async-aws/core Version ^1.29.2
async-aws/s3 Version ^3.4.1
league/flysystem Version ^3.35.3
league/flysystem-async-aws-s3 Version ^3.31.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 kinetis/storage-s3 contains the following files

Loading the files please wait ...