We've been using standalone Drush version so far to manage Drupal 7 websites, however the latest Drush version requires to be setup within Composer context. As Greg stated on New Drush install instructions use Composer for install, even on Drupal 7?
Drush uses composer to install its dependencies, so please follow the composer instructions regardless of whether you plan to use drush with Drupal 7 or Drupal 8.
So after installing Composer globally and getting happy Drush for Drupal 8 websites, it's been really problematic to get it running for old Drupal 7 websites. Too many old Drupal 7 websites that we want to keep managing old ways without Composer. At the same time we need somehow to get Drush working.
When triggered within old Drupal 7 website Drush Launcher complains:
The Drush launcher could not find a Drupal site to operate on. Please do one of the following:
- Navigate to any where within your Drupal project and try again.
- Add --root=/path/to/drupal so Drush knows where your site is located.
How could I get Drush 8.x running through new Drush Launcher (which was installed per step 2 on http://docs.drush.org/en/master/install) for Drupal 7 website without getting Composer involved?
Alternatively, if Composer is must to-go-through from now on, then what would be steps to get only Drush functional? I mean to satisfy Composer just to get Drush running without letting Composer to change anything on existing Drupal 7 websites?