~/talk

Composer Best Practices 2018

Talkat phpDay 2018 · 2018-05-11..05-12· [php]
slides:none on file

Packages.org hosts ~200,000 packages and 1.2M versions and Composer sees ~22 releases since Jan 2017 with ~900 issues closed and ~300 PRs. Always commit the lock file so deployments run deterministic composer install --prefer-dist instead of updating. Build artifacts on CI, reuse the Composer cache, run composer dump-autoload -o or classmap-authoritative for production, test libraries with composer update --prefer-lowest --prefer-stable, resolve lockfile merges by checking out the base branch lock file and rerunning composer update, and verify platforms with composer check-platform-reqs.

AI-written summary · about

  1. 0:00Introduction
  2. 2:56Composer best practices
  3. 7:01Deployments
  4. 12:12Deploy without the lock file
  5. 12:52Dependencies
  6. 16:05Autoloader
  7. 17:30Classman
  8. 19:04Changes in Composer
  9. 20:46Interoperability
  10. 22:09New Features
  11. 24:22With All Dependencies
  12. 26:45CI Testing for Libraries
  13. 29:32Semantic Versioning
  14. 32:25Application Versioning
  15. 33:31Updates
  16. 37:13Oh Sorry
  17. 37:30Platform Requirements
  18. 39:24Platform Configuration
  19. 41:54Composer Plugins
  20. 44:33Summary
~/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.