~/talk

Composer Best Practices

Talkat PHP UK Conference 2015 · 2015-02-18..02-20· [php, open-source]
slides:none on file

Composer advice focuses on actionable rules: commit composer.lock so installs are reproducible and fast; tag releases before breaking and maintain a changelog; prefer use the caret (^) for libraries so minor/patch updates stay safe while allowing fixes; add packages with composer require rather than hand-editing composer.json; resolve conflicts by tightening bad wildcards or asking maintainers to relax them; require a forked branch via a VCS repository + alias so other deps still resolve; use composer scripts to run vendor/bin tools like phpunit.

AI-written summary · about

  1. 0:00Introduction
  2. 0:13About me
  3. 1:32Composer
  4. 1:51Semantic Versioning
  5. 4:42Who View
  6. 5:39Release Packages
  7. 7:41Tagging
  8. 9:55Review
  9. 10:29Help
  10. 11:10Constraint
  11. 11:21wildcard ranges
  12. 12:44orange
  13. 17:45carrot
  14. 20:01update
  15. 21:18stabilities
  16. 21:39stable tags
  17. 22:12branch
  18. 31:10log file
  19. 31:57faster installs
  20. 32:26reproducible installs
  21. 33:17commit
  22. 34:40custom commands
  23. 35:09test commands
  24. 36:37final tip
  25. 38:42Turn Proxy
  26. 39:18Fast Reliable
  27. 39:43Private Packages
  28. 40:47Open Source
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.