Composer Behaviors We Want To Support
Install Drupal 8 using Composer:
$ composer create-project drupal/drupal path/to/drupal 8.0.* $ cd path/to/drupal $ ./vendor/bin/phpunit -c core/
Travis test here: https://travis-ci.org/paul-m/d8-create-project (updated version: https://travis-ci.org/timmillwood/d8-create-project)
Adding a dependency to Drupal 8 using Composer:
$ cd drupalroot/ $ composer require crell/api-problem $ ./vendor/bin/phpunit -c core/
Travis test here: https://travis-ci.org/paul-m/d8-drupal-require
User interface changes
There are many things Drupal could improve when it comes to its Composer use.
Install Drupal core using Composer
This would allow modules to depend on specific versions of Drupal core, and allow you to download Drupal with Composer.
- Can you install Drupal 8 using
composer create-project? Answer here: https://github.com/paul-m/d8-create-project
- Can you use Drupal 8 core as a dependency? Answer here: https://github.com/paul-m/d8-require-drupal
Install Drupal contributed projects using Composer
This allows installing Drupal modules and themes with Composer. Modules could also depend on specific versions of the projects as well.
Composer usage in Drupal core
This fixes some of the use of Composer in Drupal core, for additional awesomeness.
Use Composer to manage contrib dependencies
These issues deal with contrib modules using Composer to manage their dependencies.
Beta phase evaluation
|Issue category||Task because it is improving the use of something to Drupal.|
|Prioritized changes||This is a prioritized change because it improves developer experience, allowing Drupal to be used in a way that is more familiar to the greater PHP community.|
|Disruption||Varying levels of disruption. Individual issues within the meta will have to evaluate disruption separately.|