Composer BoF at DrupalCon Baltimore

手机数码 2017-04-26

Tomorrow (Wednesday, April 25), I'm leading a Birds of a Feather (BoF) at DrupalCon Baltimore titled Managing Drupal sites with Composer (3:45 - 4:45 p.m. in room 305).

I've built four Drupal 8 websites now, and for each site, I have battle scars from working with Composer (read my Tips for Managing Drupal 8 projects with Composer ). Even some of the tools that I use alongside composer—for project scaffolding, managing dependencies, patching things, etc.—have changed quite a bit over the past year.

As more and more Drupal developers adopt a Composer workflow for Drupal, we are solving some of the most painful problems.

For example:

  • Should I use the composer.json that's included with Drupal core? If so, why is there also a .lock file included? (See issue: Improve instructions for updating composer.json and /vendor ).
  • I just installed Webform and now it's yelling at me about front-end libraries. How do I install front-end libraries with Composer, especially if they're not on Packagist ?
  • What's the best way (or ways ) to set up your Drupal project using Composer? (See discussions about this on 1 , 2 , 3 ).
  • Is it a best practice to commit the vendor directory or not? Why?
  • Sometimes I see tildes ( ~ ), other times ^ , and sometimes Composer yells at me when I try to add a module that has a beta release. Why is this stuff so confusing? I just want to add a module!
  • I download tarballs or zip files of modules and drag them into my codebase. What's the best way to install modules like Search API Solr or Address , when they require Composer?

Some of these questions have answers. Some are still being debated on a daily basis!

I'd love to see you come to the BoF tomorrow if you're at DrupalCon, and you want to talk about Composer and Drupal. I'll try to take notes and post them on my blog as well.

Jeff Geerling's Blog

责编内容by:Jeff Geerling's Blog (源链)。感谢您的支持!


PHPspider爬虫10分钟快速教程 说到做爬虫,大家都可能第一时间想到的是python,其实php也是可以用来写爬虫程序的。php一贯简洁、易用,亲测使用PHPspider框架10分钟就能写出一个...
Conal Tuohy: Analysis & Policy Online Notes for my Open Repositories 2017 conference presentation. I will edit t...
Hyperledger Composer 方案架构 图片发自简书App Hyperledger Composer使架构师和开发人员能够快速创建“全栈”区块链解决方案。 即运行在区块链上的...
玩转Fiddler(二)——Composer发送HTTP Request 阅读本文大约需要6分钟 Fiddler也可以用来创建和发送HTTP Request,使用Composer即可轻松实现。Composer的使用方法很...
Case Study: Patrick Roger’s Headless E-Comme... In this case study, we interview some great folks from Ici La Lune, a French...