Download the PHP package pantheon-systems/terminus-repository-plugin without Composer

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

Terminus Repository Plugin

Deprecated

⚠️ This plugin is deprecated. Repository management functionality has been absorbed into Terminus core. Please use the built-in Terminus repository commands instead.

This Terminus plugin configure directs integration between individual Pantheon sites and individual GitHub repositories via Pantheon's GitHub Application. This plugin will eventually handle direct integration with other Git providers, such as GitLab and Bitbucket.

To set up the GitHub Application this plugin enhance the commands site:create and env:deploy with additional functionality.

Installation

To install this plugin using Terminus 3 or later, run the following command:

Feedback and support

Prior to General Availability, support for this plugin is handled directly by the product team instead of our regular support channels. Use the issue queue on this repository to report bugs, request features or provide general feedback.

Using the GitHub Application

Creating a New Site

Once the plugin has been installed, you can run site:create with additional options to create a site using external version control:

Some other options available:

Once you run this command, the site creation process will start. You will be prompted to install the GitHub Application to be able to manage your external repository. Follow through the steps in the provided GitHub link and once you do that, the site creation process will continue and will eventually create a repository (named after your site name) in the provided GitHub account. On subsequent site creations, you will be able to select the previously configured GitHub account/organization or configure a new one.

Pull Requests and Multidevs

Multidevs are a core product at Pantheon. If your organization has access to Multidevs; you can leverage them through the Application by using Pull Requests in your repository:

Please note that initially, sites connect to the GitHub Application won't be subject of the 10 Multidevs limit that we have at Pantheon but we are planning on implementing automatic deletion of dormant Multidevs for these sites.

Deployment to Test or Live Environments

This Terminus plugin includes a modified version of the env:deploy command; so to deploy to test or live environments.

While having the plugin installed, you can deploy using Terminus as usual. Deploying from the dashboard is not yet supported for sites using the GitHub Application.

Status and logs of my code pushes

If you want to follow your code pushes; you can do so through the dashboard usual Workflow Logs functionality.

Private Beta

Pantheon's GitHub Application is currently in Private Beta. To get access, fill in this form and we will contact you soon.

Testing of the plugin itself

This example project includes four testing targets:

To run all tests together, use composer test.

Note that prior to running the tests, you should first run:

Help

Run terminus help site-create for help.


All versions of terminus-repository-plugin with dependencies

PHP Build Version
Package Version
No informations.
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/terminus-repository-plugin contains the following files

Loading the files please wait ...