Download the PHP package frosh/production-docker without Composer

On this page you can find all versions of the php package frosh/production-docker. 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 production-docker

Shopware 6 Production Docker

This repository contains a base image with Alpine + PHP + (Caddy or Nginx), which you can use to build your docker image with your code.

Documentation can be found here

The Nginx, Caddy and FrankenPHP configurations send script-src 'none'; object-src 'none'; frame-src 'none'; base-uri 'none'; form-action 'none' for static SVG files and existing HTML files under public/media and public/thumbnail. Application-rendered HTML and bundled HTML applications retain their own response policies. Custom static documents must work without scripts, embedded documents, base URL overrides or form submissions; images and styles remain permitted. Development images inherit the corresponding server configuration.

Repository layout

Image generations live in their own top-level directories. The existing images live in v1/; future calendar versions, such as v2026.1/, can coexist alongside them with their own build definitions and configuration.

Shared automation lives in .github/ and scripts/. The directory names do not change the published image tags: v1 images keep their existing unversioned tags.

Building images

Bake settings are split into shared variables in v1/docker-bake.hcl and targets in v1/fpm/docker-bake.hcl and v1/frankenphp/docker-bake.hcl. Load the shared file alongside the family you want to build. Run these commands from the repository root, since Bake resolves build contexts relative to the working directory:

FPM targets include fpm, fpm-otel, caddy, caddy-otel, nginx, nginx-otel, caddy-dev and nginx-dev. FrankenPHP targets are frankenphp and frankenphp-otel. Add --print to inspect the build configuration.

Derived images use published base images. When changing a base image, build and push it before building its dependents, as the CI workflows do.

The FPM and FrankenPHP workflows build independently when their files change. Changes to shared Bake settings, the publishing workflow or matrix script trigger both families. Both workflows also support manual runs and daily rebuilds.

CI uses docker/github-builder's Bake workflow with native GitHub-hosted ubuntu-26.04 (AMD64) and ubuntu-26.04-arm (ARM64) runners. Each concrete Bake target gets its own build, and the reusable workflow combines both architectures into the published image. Namespace is no longer required. Builds retain the existing no-cache behavior for fresh daily dependency installation.

scripts/bake-matrix.mjs derives the publication images and tags from Bake for the reusable workflow. Normal builds publish the existing Docker Hub and GHCR tags; pull requests publish the existing numbered -ci-test images to GHCR. Publishing still requires a token with package write access, and normal builds use DOCKER_HUB_USERNAME and DOCKER_HUB_PASSWORD. Fork pull requests do not receive those publishing credentials. Composer authentication is passed as a BuildKit secret through the reusable workflow.

Validate the matrices locally with node --test scripts/bake-matrix.test.mjs (requires Docker Buildx; no images are built or pushed).

Run node scripts/update-php-matrix.mjs from the repository root to update the PHP patch versions in the family-specific Bake files.


All versions of production-docker with dependencies

PHP Build Version
Package Version
Requires shopware/core Version >=6.7.0.0
shopware/deployment-helper Version *
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 frosh/production-docker contains the following files

Loading the files please wait ...