Download the PHP package dpc-sdp/bay_platform_dependencies without Composer

On this page you can find all versions of the php package dpc-sdp/bay_platform_dependencies. 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 bay_platform_dependencies

Bay Platform Dependencies

Drupal configuration for Bay hosting platform integrations.

Development

Develop and validate this module on the host. It requires PHP 8.3, Composer, and the PHP extensions declared in composer.json: gd, igbinary, redis, pdo_mysql, zip, and zlib.

Getting started

Install the module dependencies and the pinned development tools:

Validating a build

Run the same Composer validation and dependency installation performed by CI:

Run coding-standard checks with:

Features

CloudFront cache tags

Enable the submodule with:

On install it registers Purge's HTTP bundled purger (instance marina_cf_cachetags), enables the coretags queuer and the lateruntime processor, and empties the purge queue so nothing queued for a previous purger lingers (bay_platform_dependencies_update_10007()).

Response header. Cacheable responses carry x-amz-meta-cache-tag, a comma-separated list of the response's Drupal cache tags hashed with xxHash3 and truncated to 6 hex characters (node:203 → # + first 6 chars of hash('xxh3', 'node:203')). Tags matching the purge_queuer_coretags blacklist are dropped, entity tags are listed first, and the list is capped at the 50 tags CloudFront stores per object. Hashing keeps the header far below CloudFront's 1,783-character limit.

Invalidation. The purger sends a POST to http://localhost:8083/prod/cache-invalidation/{project}/{environment} (the platform's SigV4 sidecar) with a JSON body of the same hashes, each prefixed with tag::

The cache invalidation API rewrites tag:<hash> to #<hash>, which is CloudFront's tag-invalidation syntax. Both sides must use the same hash, so they share the marina_cf_cachetags.cache_tags_hash service. Override marina_cf_cachetags.cache_tag_filter or marina_cf_cachetags.cache_tag_prioritizer in a site's services.yml to change which tags are kept and in what order.

Site configuration. Override the purger's path with the deployment's project and environment names (the placeholders are not substituted anywhere else), e.g. in settings.php:

Platform requirements. The CloudFront distribution must declare CacheTagConfig with HeaderName: x-amz-meta-cache-tag; distributions without it ignore the header and every tag invalidation is a no-op. Objects cached before CacheTagConfig is enabled carry no tags — issue one /* invalidation after enabling it.

To invalidate a tag by hand, hash it first:

Patches

Redis

This module handles patching of the Redis module with a few key features

  1. Adds support for RedisCluster client.
  2. Uses the current RedisCluster upstream patch.
  3. Preserves the configured TLS context during RedisCluster node discovery.

All versions of bay_platform_dependencies with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
drush/drush Version ^13
drupal/purge Version ^3.4
drupal/section_purge Version 4.x
drupal/redis Version 1.11.0
drupal/smtp Version ^1.2
dpc-sdp/tide_logs Version ^2.0
dpc-sdp/bay_monitoring Version ^2.0
cweagans/composer-patches Version ^1.7
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 dpc-sdp/bay_platform_dependencies contains the following files

Loading the files please wait ...