Download the PHP package vortos/vortos-object-store without Composer

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

Vortos Object Store

S3-compatible object storage with Cloudflare R2 defaults, transactional outbox, direct-to-cloud uploads, and server-side multipart transfers.

Design

Configuration

Service Guarantees

The injected interface defines the delivery guarantee. There is no hidden config switch.

Direct Upload Flow

  1. Call DirectUploadManagerInterface::createUploadIntent() for a tmp/... key.
  2. The client uploads directly to R2/S3 using the returned signed URL.
  3. Persist domain data with the temporary key.
  4. After validation, call promote() — copies to a permanent key, optionally deletes the source.

Server-Side Multipart

ServerSideMultipartUploadManagerInterface handles backend-owned transfers: imports, exports, migrations, CLI jobs. It validates S3 part limits, keeps memory bounded by part size, retries transient part failures, and aborts failed uploads. Do not use it for browser uploads — use the direct-to-cloud flow above.

Lifecycle Provisioning

Lifecycle rules are never applied during HTTP requests, workers, or container boot.

apply brings the bucket to the declared rule set and is idempotent: when nothing drifted it writes nothing, so it is safe to run on every deploy. plan exits 2 when there are changes, 0 when up to date.

Declaring rules

Storage-class transitions

Only ObjectStorageClass::InfrequentAccess (STANDARD_IA) is supported. Archive tiers are deliberately excluded: their objects cannot be read through a presigned GET until restored.

Provider Transitions Earliest transition
r2 yes 1 day — but Infrequent Access bills a 30-day minimum storage duration and a per-GB retrieval fee; lifecycle cannot move objects back to Standard
aws_s3, s3 yes 30 days (AWS refuses earlier)
generic_s3 no — plan fails

Do not transition prefixes whose objects are deleted within 30 days or read constantly (public assets, support attachments): the minimum duration and retrieval fees cost more than Standard.

Managing lifecycle needs write access to the bucket configuration — on R2 an API token with bucket-level Workers R2 Storage Write. Check the token before making apply part of a deploy.

Commands


All versions of vortos-object-store with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
psr/clock Version ^1.0
symfony/clock Version ^7.0 || ^8.0
vortos/vortos-foundation Version ^1.0
vortos/vortos-logger Version ^1.0
vortos/vortos-persistence Version ^1.0
aws/aws-sdk-php Version ^3.0
doctrine/dbal Version ^4.4
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 vortos/vortos-object-store contains the following files

Loading the files please wait ...