Introduction
Learn more about developing your Pantheon site locally.
Pantheon's Localdev has been deprecated. However, there are many local development options for the Pantheon platform available for use on Pantheon. This guide provides an overview of several popular local development tools to help you get started.
Pantheon provides several options for on-server development, however, local development has a number of advantages, especially if continuous internet access is a concern. Pantheon provides powerful local development tools, including Terminus and Multidev. Pantheon's platform can also be integrated with:
- Lando
- Jenkins
- JetBrains PhpStorm for WordPress
- JetBrains PhpStorm for Drupal
- Drush
- WP-CLI
Before You Begin
You must transfer each file from Pantheon to your local environment. There are three parts to any dynamic website that contain important files:
Code: The application, modules or plugins, and themes.
Database: The content.
Files: User uploaded or application generated.
Ensure that your local stack is capable of running Drupal or WordPress, such as:
Confirm that your configuration solution supports a minimum of PHP 5.3 and MySQL. Pantheon uses a particular architecture to maximize performance and availability.
Verify that your local stack's PHP version matches the PHP version set for the target site on Pantheon.
Install a Git client for tracking code changes.
Install an SFTP client or IDE, such as WinSCP or Visual Studio Code, for transferring files or Rsync.
Install Terminus.
Review Multidev documentation. Multidev is recommended for large teams.
Install Drush (recommended for Drupal sites).
Install WP-CLI (recommended for WordPress sites).
Support
Pantheon does not offer support for local development solutions or troubleshooting. This guide provides some suggestions and known working solutions.
Pantheon Developer Resources
Review the resources below for additional developer tools and knowledge specific to Pantheon.