Composer Meet Drush

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by droath on September 27, 2016 at 10:04pm

Hey Guys -

What do you think about a composer plugin to run Drush or Drupal console commands based on a composer operation? As I was wanting to streamline the Drupal composer workflow. I came up with a project that tried to provide a solution.

https://github.com/droath/drupal-module-installer

Would like to get suggestions about using this approach? Or other solutions that you've came up with in recent Drupal 8 projects.

Comments

what's the benefit of having

Posted by hadi farnoud on April 26, 2017 at 2:40pm

what's the benefit of having composer for Drupal. it's relatively useless, isn't it?

Hadi Farnoud
فروشگاه ساز

No, it's not. Composer is the

Posted by daften on May 3, 2017 at 12:35pm

No, it's not. Composer is the de facto standard for package management. It is maintained by a lot of people and supports a lot more use cases than drush make does. Version pinning based on semantic versioning for example. It's not perfect for Dupal atm, because it tries to be a mix between the old and new way of doing things. I believe we should fully embrace it and support drush make mainly as legacy.

Composer is the de facto

Posted by kreynen on May 3, 2017 at 3:03pm

Composer is the de facto standard for PHP package management.

Yes @kreynen, my bad, PHP

Posted by daften on May 3, 2017 at 3:58pm

Yes @kreynen, my bad, PHP package management is absolutely correct. But that was not my main point, but thanks for correcting :)

Composer

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /