Download the PHP package labor-digital/factory-multitenant-api without Composer

On this page you can find all versions of the php package labor-digital/factory-multitenant-api. 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 factory-multitenant-api

Factory Multitenant API

HTTP API for the LABOR.digital Factory shared-tenant TYPO3. Wraps factory-core's tenant primitives so the pipeline-app (and other tooling) can create tenants and update their capabilities without a redeploy.

Opt-in. Single-tenant Factory installs should NOT install this extension. It exposes shared-tenant operations that don't apply to dedicated stacks.

Endpoints

All routes live under /api/multitenant. JSON in, JSON out. Bearer auth.

Method Path Description
GET /version Deployed factory_core + factory_multitenant_api + TYPO3 versions plus the supported seed-schema range.
GET /tenants List all tenants (anything with a config/sites/<slug>/factory.json).
GET /tenants/{slug} One tenant.
POST /tenants Create a tenant. Wraps factory:tenant:provision.
PATCH /tenants/{slug} Update capabilities (active_components, active_record_types, settings). Atomic rewrite of factory.json + cache invalidate; takes effect immediately on the worker handling the PATCH.

Activation

The middleware is off by default. To turn the API on, set both:

Without both env vars, every /api/multitenant/* request returns 404. With them set, requests must present Authorization: Bearer <token>.

The deploy repo (labor-factory-multitenant) injects both via AWS Secrets Manager. See its private docs for the exact wiring.

Hardening checklist (production)

  1. ALB rule for /api/multitenant/* restricted to a CIDR allowlist (LABOR offices + Bitbucket Pipelines egress).
  2. Bearer token rotated quarterly.
  3. CloudWatch log filter on factory_multitenant_api rejected → ops alert.
  4. FACTORY_MULTITENANT_API_ENABLED left unset on any non-shared-tenant deploy.

See also


All versions of factory-multitenant-api with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
typo3/cms-core Version ^v13.4.27
labor-digital/factory-core Version ^0.12
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 labor-digital/factory-multitenant-api contains the following files

Loading the files please wait ...