Using drupal-project to craft your perfect start state

Derek "Hawkeye Tenderwolf" DeRaps

Senior Architect, Kalamuna

Kalamuna

We're Hiring!

Come be awesome.

.composer
.drupalproj
+You

Composer basics

Getting the tasty code

git clone

vs.

composer create-project

Alternatives to drupal-project

drupal/drupal

     is a

    no/no

anatomy of a composer file + basic customization

  • adding modules
  • SemVer(ish)
  • minimum stability (bit.ly/2EBMEHe)
  • libraries
  • scripts
  • "extra" config

Bonus: "Installers" + Components!

When you need code that only exists in the GitHubs...

  1. Use composer.json "repositories"
      - OR -
  2. Fork + add your own composer.json

Begin: FUN

Bring in all your favourite customizations:

  • settings.php + services.yml
  • .gitignore + .gitconfig
  • local dev (lando, ddev, ...)
  • hosts (pantheon, pl.sh, ...)
  • continuous integration
  • config management
  • module/core patches
  • front-end tooling

Configuration Installer profile

Database dumps are SO drupal-7

"Optional" config

use drupal console to sanitize the config export for use on other sites

Questions?

Using drupal-project to craft your perfect start state

By Hawkeye Tenderwolf

Using drupal-project to craft your perfect start state

  • 109
Loading comments...

More from Hawkeye Tenderwolf