Download the PHP package pantheon-systems/circle-scripts without Composer

On this page you can find all versions of the php package pantheon-systems/circle-scripts. 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 circle-scripts

This project is deprecated; it has been replaced with a newer and more comprehensive example Drupal 7 Circle CI Composer project, which can be used to quickly create your own derived project.

Original Documentation

This project is designed to be included from the require section of a Drupal site's composer.json file. Doing this allows you to achieve the following things:

All of this can be accomplished with only a few light files committed to your repository.

Setup

Copy the contents of the examples directory to the root of your project, renaming files as appropriate:

You will also need a composer.json file for your project. The project example-drupal7-circle-composer can be used as a template to quickly create your own project; for Drupal 8, see drupal-composer/drupal-project.

Configuration

You must customize the contents of these files to suit the needs of your project. See the detailed instructions below; more information is also available in the comments inside each file.

Composer

Do not use the composer.json file included in the pantheon-systems/circle-scripts project; instead, use one from a project mentioned in the section Setup, above.

Set the name and description in your composer.json file to something appropriate for your project.

Customize the require section to contain the modules and themes needed for your project. You might want to try using drush composer-generate to get started. If you want to run your site on Pantheon, then you should keep "pantheon-systems/drops-7" as your main component; otherwise, you may replace this with "drupal/drupal" if you prefer.

The custom installers in the require section of your composer.json file control the way the components in your project are installed. Always keep these items at the top, so that they are available at the very beginning of the installation process. Modules and themes listed before the custom installers might not install correctly.

Circle CI

Set up your project to be tested by Circle CI:

Next, set up the environment variables used by the push-to-pantheon script:

Variable Name Value
SITE_NAME The name of the site used in "Site Install"
PSITE The name of the Pantheon site to push to
PENV The Pantheon site environment to overwrite on each test
PEMAIL The email used to log in to a Pantheon User with access to the site
PPASS The password for the acount specified by PEMAIL
CI_BOT_EMAIL The email address to use in the git commit attribution
CI_BOT_NAME The name to use in the git commit attribution

Edit these in Project Settings > Environment Variables (https://circleci.com/gh/ORG/PROJECT/edit#env-vars).

You also need to set up an ssh key, so that the push-to-pantheon script can commit changes to the Pantheon git repository.

See the Circle CI documentation for more information on configuration.

Behat

This sample is set up to run a single behat test that confirms that the name of the site was set correctly by drush site-install. Note that the first part of the site name is set by the SITE_NAME environment variable that you customize in your .travis.yml file; the second part of the site name is set to Travis Test Site on Travis, and Pantheon Test Site on Pantheon.

See the behat documentation for further instructions on adding more tests to your project.

Local Testing

Once setup is complete, doing local testing is a simple matter of:


All versions of circle-scripts with dependencies

PHP Build Version
Package Version
Requires pantheon-systems/ci-scripts 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 pantheon-systems/circle-scripts contains the following files

Loading the files please wait ....