Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@lando/drupal

lando3.1kGPL-3.01.12.0

A Lando plugin that provides a tight integration with Drupal.

lando, lando-plugin, lando-recipe, drupal

readme

Drupal Lando Plugin

This is the official Lando plugin for Drupal. When installed it...

  • Allows users to run drupal cms
  • Allows users to configure php version from 5.3 all the way to 8.3
  • Allows users to configure webroot
  • Allows users to configure web server to (apache or nginx)
  • Allows users to configure database backend to (mariadb, mysql, or postgres)
  • Allows users to configure composer
  • Allows users to run drush commands
  • Allows users to configure xdebug

Of course, once a user is running their Drupal project with Lando they can take advantage of all the other awesome development features Lando provides.

Basic Usage

Add a drupal9 recipe to your Landofile

name: Drupal 9
recipe: drupal9

For more info you should check out the docs:

Installation

# With npm
npm install @lando/drupal

# With yarn
yarn add @lando/drupal

Issues, Questions and Support

If you have a question or would like some community support we recommend you join us on Slack. Note that this is the Slack community for Lando but we are more than happy to help with this module as well!

If you'd like to report a bug or submit a feature request then please use the issue queue in this repo.

Changelog

We try to log all changes big and small in both THE CHANGELOG and the release notes.

Development

git clone https://github.com/lando/drupal.git && cd drupal
yarn install

If you don't want to install Node 18 or Yarn for whatever reason you can install Lando and use that:

git clone https://github.com/lando/drupal.git && cd drupal
# Install deps and get node
lando start

# Run commands
lando node
lando yarn

Testing

# Lint the code
yarn lint

# Run unit tests
yarn test

Releasing

yarn release

Maintainers

Contributors

Made with contributors-img.

Other Resources

changelog

v1.12.0 - January 16, 2025

v1.11.0 - December 9, 2024

v1.10.2 - December 6, 2024

  • Updated the version index.md to get Docuverse page to build correctly.

v1.10.1 - December 4, 2024

v1.10.0 - December 2, 2024

v1.9.2 - November 4, 2024

v1.9.1 - October 29, 2024

  • Released to update critically broken docs

v1.9.0 - October 25, 2024

  • Updated release process to generate an edge release when stable releases are created.
  • Removed unnecessary dependency @lando/nginx

v1.8.0 - October 18, 2024

v1.7.0 - September 30, 2024

v1.6.1 - September 5, 2024

Bug Fixes

  • Fixed bug causing default proxy settings to be clobbered by user specified ones

Internal

  • Updated DevOps to use new lando exec
  • Updated ubuntu test runners to 24.04

v1.6.0 - May 27, 2024

  • Use mysql command for MariaDB 10.3.x and below

v1.5.0 - May 8, 2024

v1.4.0 - April 16, 2024

  • Updated version of Composer used with Drupal 9 and 10 to 2-latest. #31

v1.3.0 - March 8, 2024

  • Updated to latest database services.

v1.2.0 - February 26, 2024

Internal

  • Updated to @lando/php@1.2.0
  • Config tests.

v1.1.0 - February 20, 2024

  • Included ability to specify database: mssql in the config section to maintain backwards compatibility. @lando/mssql#31

v1.0.1 - January 15, 2024

  • Fixed issue with missing semver dependency.

v1.0.0 - December 7, 2023

  • Dialed fully for lando update

v0.12.0 - October 4, 2023

  • Fixed issue with compiled assets on Drupal 10.1 #71

v0.11.0 - July 3, 2023

  • Removed bundle-dependencies and version-bump-prompt from plugin.
  • Updated package to use prepare-release-action.
  • Updated documentation to reflect new release process.
  • Added tests for using nginx #58

v0.10.0 - May 17, 2023

  • Fixed issue with Drupal lazy aggregation and added test. #56

v0.9.0 - May 11, 2023

  • Added support for Drupal lazy aggregation #48

v0.8.0 - February 24, 2022

v0.7.0 - December 12, 2022

  • Added bundle-dependencies to release process.
  • Fixed bug in plugin dogfooding test.

v0.6.0 - September 8, 2022

  • HYPERDRIVED

v0.5.3 - March 2, 2022

Lando is free and open source software that relies on contributions from developers like you! If you like Lando then help us spend more time making, updating and supporting it by contributing.

v0.5.2 - March 2, 2022

Lando is free and open source software that relies on contributions from developers like you! If you like Lando then help us spend more time making, updating and supporting it by contributing.

v0.5.1 - February 2, 2022

Lando is free and open source software that relies on contributions from developers like you! If you like Lando then help us spend more time making, updating and supporting it by contributing.

v0.5.0 - January 11, 2022

Lando is free and open source software that relies on contributions from developers like you! If you like Lando then help us spend more time making, updating and supporting it by contributing.

  • Initial Release