Composer --help
summary
Walkthrough of concrete Composer moves: enabling shell autocomplete with composer completion; starting a package with composer init or a site with create-project then using composer browse to jump to a package homepage; getting editable checkouts via composer reinstall --prefer-source for patch work; diagnosing conflicts with composer why and composer why-not and the dependency tree; controlling installs/updates with flags like --no-dev and --optimize-autoloader; and running audits, outdated reports, custom installers (oomphinc/CKEditor plugins) and composer scripts.
AI-written summary · about
chapters (22)
- 0:00Introduction and welcome
- 1:52What is Composer
- 4:26Composer help and list commands
- 7:17Shell completion setup
- 9:27Composer init and package types
- 12:52Composer create project
- 14:20Composer browse command
- 17:08Composer install and require
- 21:40Ignoring platform requirements
- 25:22Prefer source for development
- 30:07Composer update and flags
- 34:14Optimizing autoloader for production
- 39:01Composer lock file importance
- 41:56Version constraints in Composer
- 45:00Wildcard updates with star
- 48:11Testing older versions
- 51:34Composer why and why not
- 55:24Dependency tree analysis
- 58:07Composer audit and outdated
- 1:00:06Custom package installation
- 1:02:33Composer exec and run scripts
- 1:03:13Q&A and closing remarks
