Now, a good amount of modules do not yet have a stable version, for example, webform.
composer require drupal/webform says:
Could not find package drupal/webform at any version for your minimum-stability (stable). Check the package spelling or your minimum-stability
If I try
composer require --minimum-stability=beta drupal/webform, I get:
The "--minimum-stability" option does not exist.
drush dl gives:
This codebase is assembled with Composer instead of Drush. Use
composer requireinstead of
Note that due to the special versioning of Drupal this is not a generic composer question but a Drupal specific one. Ie. webform today is 8.x-5.0-beta12, how do I install the latest in the 8.x-5.0 series...? Now, composer doesn't understand or use 8.x-5.0 but uses somethting else, but what and how does that work for betas? This needs documentation somewhere because it currently does not exist. I would be the happiest person if this didn't need an answer, but alas, despite having perfectly fine working tools to build sites, with Drupal 8 we need to use composer and most modules are in beta.