Download the PHP package kanopi/composer-assets-drupal-pantheon without Composer

On this page you can find all versions of the php package kanopi/composer-assets-drupal-pantheon. 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 composer-assets-drupal-pantheon

kanopi/composer-assets-drupal-pantheon

[!IMPORTANT] Read-only mirror. This repository is a subtree split of kanopi/kanopi-assets and is updated automatically. Issues are disabled and pull requests are closed automatically — report issues and open pull requests on the main kanopi-assets repository.

CircleCI deployment configuration for Drupal on Pantheon, built on the Kanopi orbs (kanopi/ci-tools, kanopi/cms-updates). Pantheon uses Multidev for preview/QA, so there is no Tugboat config here.

Scaffolds

Destination Update policy Purpose
.circleci/config.yml replaced on update Full workflow: phpcs/phpstan/rector/twig, deploy→cypress/lighthouse/pa11y/sdtt/backstop, automated-updates, cron
.circleci/env.sh seed once (overwrite:false) The per-project fill-in file
.circleci/scripts/compile-theme.sh replaced on update Theme build (npm/yarn $THEME_BUILD_COMMAND), in place — runs in the deploy job before the Pantheon artifact is built
.circleci/scripts/pantheon/dev-multidev replaced on update Pantheon dev/multidev deploy
.circleci/scripts/pantheon/pre-deploy.sh seed once (overwrite:false) Optional CI hook, runs before the artifact push (ships empty)
.circleci/scripts/pantheon/post-deploy.sh seed once (overwrite:false) Optional CI hook, runs after the release tasks (ships empty)
{web/private,private}/scripts/quicksilver/drush-deploy.php seed once (overwrite:false) Quicksilver hook: drush deploy after a platform deploy
{web/private,private}/scripts/quicksilver/new_relic_deploy.php seed once (overwrite:false) Quicksilver hook: record the deploy in New Relic
pantheon.yml seed once (overwrite:false) Platform config + Quicksilver deploy hooks (skipped if you already have one)

The Quicksilver scripts and pantheon.yml are placed by composer-assets conditional mapping: under web/private/ when a web/ docroot exists, else private/ — and the matching pantheon.yml variant (web_docroot: true vs not) is seeded with paths to match. No deploy-time staging.

The logic lives in the orbs and the shipped files; per-project values live only in env.sh. Bump the orb version or update this package to roll a fix to every site. To diverge, a site sets ".circleci/config.yml": false (or the script path) in its own composer.json and commits its own copy.

Fill in .circleci/env.sh

TERMINUS_SITE, PANTHEON_UUID, DEFAULT_BRANCH, DOCROOT, THEME_NAME, THEME_PATH, NODE_VERSION, NODE_PACKAGE_MANAGER (npm/yarn). The PHP version is a pipeline parameter at the top of config.yml (the docker image resolves before env.sh can be sourced); Node is installed at runtime via nvm, so NODE_VERSION lives in env.sh.

Deploy hooks

pre-deploy.sh and post-deploy.sh (seeded once, committed, yours to edit) let you customize the deploy without forking dev-multidev. They ship empty and run only if present — pre-deploy.sh before the artifact is pushed, post-deploy.sh after the release tasks (drush deploy + cache clear), with $TERMINUS_SITE.$TERMINUS_ENV in scope and terminus authenticated.

These are CI-side hooks (CircleCI deploys to dev/multidev). For platform deploys (dev→test→live promotions), see Quicksilver below.

Quicksilver hooks

pantheon.yml registers workflows.deploy.after hooks that run on Pantheon after every code deploy — including dashboard promotions that never touch CI:

composer-assets seeds both scripts and pantheon.yml under web/private/ when a web/ docroot exists, else private/ (conditional mapping on exists: web), so the hook paths always resolve and the scripts ship in the committed artifact — no deploy-time staging. If your project already has a pantheon.yml, the seeded one is skipped — copy its workflows block in by hand.

Toggling stages

Secrets (CircleCI kanopi-code context — never in the repo)

TERMINUS_TOKEN, GITHUB_TOKEN, DOCKERHUB_USER, DOCKERHUB_PASS, SLACK_WEBHOOK. Add the deploy SSH key under Project Settings → SSH Keys.

Scheduled pipelines

Code quality (PHPStan, Rector, Twig CS Fixer)

phpstan.neon, rector.php, and .twig-cs-fixer.php are seeded once (overwrite:false) at the repo root — yours to tune, modeled on kanopi/drupal-starter. They're docroot-agnostic: the scan paths live in the composer scripts, not the configs.

The configs only run once your project composer.json has the tools and the scripts the CI invokes (code-sniff-ci, phpstan-ci, rector-modules-ci, rector-themes-ci, twig-lint-ci). Copy those scripts from drupal-starter (scan paths under web/modules/custom and web/themes/custom) and add:


All versions of composer-assets-drupal-pantheon with dependencies

PHP Build Version
Package Version
Requires kanopi/composer-assets Version ^1.2
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 kanopi/composer-assets-drupal-pantheon contains the following files

Loading the files please wait ...