Answers.Body: <p><strong>UPDATE:</strong> You can use <a href="https://civicrm.stackexchange.com/questions/35599/downstream-git-composer-issues/35608#35608">this method</a> but instead of a version 5.x in the composer command specify dev-master.</p>
  
  <p>You can also use buildkit with e.g. target d8rec-clean. See <a href="https://github.com/civicrm/civicrm-drupal-8/pull/37" rel="nofollow noreferrer">https://github.com/civicrm/civicrm-drupal-8/pull/37</a></p>
  
  <hr>
  
  <p><strong>OLDER:</strong></p>
  
  <p>Here's what I've been doing. I don't think it's the ideal solution and am curious if anyone else has a better way.</p>
  
  <ol>
  <li><p>Use the roundearth installer as normal to install the latest "numbered" version. (<a href="https://gitlab.com/roundearth/drupal-civicrm-project" rel="nofollow noreferrer">https://gitlab.com/roundearth/drupal-civicrm-project</a>)</p></li>
  <li><p>Hack the vendor/roundearth/civicrm-composer-plugin/src/Handler.php file so that:</p>
  
  <p>(a) getCivicrmCoreVersion() returns 'NIGHTLY'</p>
  
  <p>(b) addMissingCivicrmFiles() uses <code>https://download.civicrm.org/latest/civicrm-NIGHTLY-drupal.tar.gz</code> as the civicrm_archive_url.</p></li>
  <li><p>Delete vendor/civicrm/civicrm-core</p></li>
  <li><p>Run <code>composer require civicrm/civicrm-core:dev-master civicrm/civicrm-drupal-8:dev-master</code></p></li>
  </ol>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-01-15T16:31:17.823Z
Answers.LastActivityDate: 2020-06-13T20:30:14.030Z
Answers.LastEditDate: 2020-06-13T20:30:14.030Z
Answers.UserDisplayName: Demerit
Body: <p>I've cloned civicrm-core (4.7.28) and civicrm-drupal (switched to branch 8.x-4.7.28-rc) into my top level modules dir of my Drupal 8.4.
  I was able to install dependencies into vendor dir for civicrm-core using composer. I get the following errors when trying to do same for civicrm-drupal:</p>
  
  <p>Loading composer repositories with package information
  Updating dependencies (including require-dev)
  Your requirements could not be resolved to an installable set of packages.</p>
  
  <p>Problem 1
      - The requested package civicrm/civicrm-core could not be found in any version, there may be a typo in the package name.</p>
  
  <p>Potential causes:
   - A typo in the package name
   - The package is not available in a stable-enough version according to your minimum-stability setting
     see <a href="https://getcomposer.org/doc/04-schema.md#minimum-stability" rel="nofollow noreferrer">https://getcomposer.org/doc/04-schema.md#minimum-stability</a> for more details.
   - It's a private package and you forgot to add a custom repository to find it</p>
  
  <p>From what I gather the problem is simply a path issue, as civicrm-core 4.7.28 is in a peer dir. As it seems bad practice to modify the composer.json file to point to local path and I wish to keep core/drupal projects in separate dir, there must be a simple solution which I've been unable to stumble on thus far.</p>
  
  <p>Any suggestions?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-12-20T16:48:36.623Z
Comments.Text: Installing CiviCRM on Drupal 8 is still a little dicey due to some Symfony-related issues. See https://www.mydropwizard.com/blog/how-install-civicrm-drupal-8-and-why-choose-it-over-pure-drupal-crm https://issues.civicrm.org/jira/browse/CRM-17652
Comments.UserDisplayName: choster
Tags: <drupal-8>
Title: Install Development Environment CiviCrm for Drupal 8
ThreadText: # Install Development Environment CiviCrm for Drupal 8
  
  (Asked by: username_0 on 2017-12-20)
  
  I've cloned civicrm-core (4.7.28) and civicrm-drupal (switched to branch 8.x-4.7.28-rc) into my top level modules dir of my Drupal 8.4.
  I was able to install dependencies into vendor dir for civicrm-core using composer. I get the following errors when trying to do same for civicrm-drupal:
  
  Loading composer repositories with package information
  Updating dependencies (including require-dev)
  Your requirements could not be resolved to an installable set of packages.
  
  Problem 1
  - The requested package civicrm/civicrm-core could not be found in any version, there may be a typo in the package name.
  
  Potential causes:
  - A typo in the package name
  - The package is not available in a stable-enough version according to your minimum-stability setting
  see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
  - It's a private package and you forgot to add a custom repository to find it
  
  From what I gather the problem is simply a path issue, as civicrm-core 4.7.28 is in a peer dir. As it seems bad practice to modify the composer.json file to point to local path and I wish to keep core/drupal projects in separate dir, there must be a simple solution which I've been unable to stumble on thus far.
  
  Any suggestions?
  
  **Tags:** drupal-8
  
  > **Comments:**
  > **username_1**: Installing CiviCRM on Drupal 8 is still a little dicey due to some Symfony-related issues. See https://www.mydropwizard.com/blog/how-install-civicrm-drupal-8-and-why-choose-it-over-pure-drupal-crm https://issues.civicrm.org/jira/browse/CRM-17652  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2020-01-15. Score: 1
  
  **UPDATE:** You can use [this method](https://civicrm.stackexchange.com/questions/35599/downstream-git-composer-issues/35608#35608) but instead of a version 5.x in the composer command specify dev-master.
  
  You can also use buildkit with e.g. target d8rec-clean. See <https://github.com/civicrm/civicrm-drupal-8/pull/37>
  
  ---
  
  **OLDER:**
  
  Here's what I've been doing. I don't think it's the ideal solution and am curious if anyone else has a better way.
  
  1. Use the roundearth installer as normal to install the latest "numbered" version. (<https://gitlab.com/roundearth/drupal-civicrm-project>)
  2. Hack the vendor/roundearth/civicrm-composer-plugin/src/Handler.php file so that:
  
     (a) getCivicrmCoreVersion() returns 'NIGHTLY'
  
     (b) addMissingCivicrmFiles() uses `https://download.civicrm.org/latest/civicrm-NIGHTLY-drupal.tar.gz` as the civicrm\_archive\_url.
  3. Delete vendor/civicrm/civicrm-core
  4. Run `composer require civicrm/civicrm-core:dev-master civicrm/civicrm-drupal-8:dev-master`
  
  
  ---
  
  