~/talk

Composer Tips/Tricks

Talkat DrupalCamp Twin Cities 2017 · 2017-06-22..06-25· [developer-experience]
links:none on file
slides:none on file

Explains concrete composer commands, common mistakes, and fixes: avoid editing composer.json by hand, use CLI (require, remove, validate), and prefer composer update --lock or dry runs before changing installs; shows how to patch forks via repository entries and use Cweagans patching in extra->patches; demonstrates performance wins by using pimo (parallel-install plugin) and composer why to trace why a package exists; builds a composer-based Drupal site (composer create-project, preferred-dist, optimized autoloader) and reports that workflow works on Pantheon with minor docroot tweaks.

AI-written summary · about

  1. 0:00Start
  2. 6:16Improper!
  3. 10:24Proper (tip #1)
  4. 11:27Performance(trick #2)
  5. 13:29Prestissimo (trick #4)
  6. 22:22Lock file not a match (tip #5)
  7. 23:34Don't forget dependencies
  8. 24:29Keep Composer Up to Date
  9. 25:30Patching
~/search
type to search 6,518 conferences, 143,918 speakers and 192,133 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.