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
what's the benefit of having composer for Drupal. it's relatively useless, isn't it?
Hadi Farnoud
فروشگاه ساز
Hadi Farnoud
فروشگاه ساز | ایمیل مارکتینگ پاکت
No, it's not. Composer is the
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
Composer is the de facto standard for PHP package management.
Yes @kreynen, my bad, PHP
Yes @kreynen, my bad, PHP package management is absolutely correct. But that was not my main point, but thanks for correcting :)