composer-cheatsheet
composer-cheatsheet copied to clipboard
:clipboard: Everything you have to know about composer.json in one page.
Composer 2.0 is out: https://blog.packagist.com/composer-2-0-is-now-available/ We should update what needs to be, add a message of how to install 2.0 (or 1.0 if needs be), etc.
adding padding to the top and bottom of the page, creating app.css and app.js files for custom code, also created folders for css and js for a cleaner project.
The explanation is only correct when no lockfile is present, which should only happen in the first run of composer. Subsequent runs ignore the json file. https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies
I changed the explanation and fixed a small css issue.
Maybe this cheatsheet could be added as a ressource for Composer in this new directory of ressources for developpers: http://overapi.com/