~/talk

How to survive with Composer

Talkat DrupalCamp Poland 2022 · 2022-05-28..05-29· [drupal, php]
links:none on file
slides:none on file

Composer history and hard facts: first alpha in 2013, stable in 2016, and the session lists 15 worst composer practices to avoid. Concrete failures: putting vendors in repositories bloats history and hides supply-chain changes; not committing composer.lock yields divergent dependency trees across environments; merging composer.lock often breaks installs; running composer install -o generates optimized autoload and can be ~40% faster; avoid ignore-platform-reqs and using branch/dev versions because Git cloning, GitHub token limits, and transitive deps cause unexpected breaks.

AI-written summary · about

  1. 0:00Introduction to Composer
  2. 1:02Top 15 worst practices
  3. 2:23Putting vendors in repositories
  4. 4:11Vendors in webroot
  5. 5:16Missing composer.lock in repo
  6. 6:40Merging composer.lock
  7. 8:06Ignoring platform requirements
  8. 9:30Using Wikimedia Merge
  9. 11:16Ignoring scaffold packages
  10. 12:38Overusing asset packages
  11. 13:43Hard coding versions
  12. 15:11Confusing version constraints
  13. 16:34Using branches instead of versions
  14. 18:20Not optimizing for production
  15. 19:43Not using required dev
  16. 21:08Using ancient Composer versions
  17. 22:32Transitive dependencies
  18. 24:43Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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.