Posted by ptgraber on November 16, 2017 at 7:42pm
The directory structure of the popular drupal-composer/drupal-project uses "/web" as the Drupal project root. Clarification could be helpful for beginner/intermediate developers.
What is the current best-practice placement of everything (files/folders, etc) in a Drupal project in relation to web document root -- in a sub-folder (like the drupal-composer/drupal-project appears to use) -- or in web document root proper.
Comments
The
The drupal-composer/drupal-project is conforming to best practice to my mind, I've not seen much that is different in the wild. There is a lot of /docroot instead because of limitations of Acquia hosting.