SlideShare a Scribd company logo
Composer & Deployer
for Enterprise
Oleksiy Kalinichenko
Drupal DevLead at JYSK
Composer.json files
in
JYSK Projects:
Main
Composer.json files
in
JYSK Projects:
Main
Composer.json files
in
JYSK Projects:
Main
Composer.json files
in
JYSK Projects:
Main
Composer.json files
in
JYSK Projects:
Main
Composer.json files
in
JYSK Projects:
Main
Composer.json files
in
JYSK Projects:
Main
Composer.json files
in
JYSK Projects:
Main
Composer.json files
in
JYSK Projects:
Main
Composer.json files
in
JYSK Projects:
Main
Composer.json files
in
JYSK Projects:
Main
Composer.json files
in
JYSK Projects:
Main
Composer.json files
in
JYSK Projects:
Main
Composer.json files
in
JYSK Projects:
Main
Composer.json files
in
JYSK Projects:
Main
“composer.patches.json”
Composer.json files
in
JYSK Projects:
Main
“composer.patches.json”
Composer.json files
in
JYSK Projects:
Main
“composer.patches.json”
Composer.json files
in
JYSK Projects:
Main
Drush command
“policy.drush.inc”
Composer.json files
in
JYSK Projects:
Main
Drush command
“policy.drush.inc”
Composer.json files
in
JYSK Projects:
Main
Drush command
“policy.drush.inc”
Common
Problems and Solutions with
Drupal + Composer
FAQ
VENDOR
How do I deploy a Drupal codebase if the `vendor` directory isn't in the codebase?
CKEditor
I need to put a library (e.g. CKEditor for Webform) in the `libraries` directory, and not
in `vendor`. Is this even possible with Composer?
NON-Packagist
One frontend library I need to add to my site (for a module, not a theme) is not on
Packagist. How can I `composer require` it without it being on Packagist?
D7 / D8
What's the best way to start building the codebase
for a new Drupal 8 (Drupal 8) website?
*/modules
If I have a multisite installation,
how can I put certain modules in one `sites/site-a/modules` directory,
and others in another `sites/site-b/modules` directory?
UI
Using the command line to install modules is a lot to ask.
Isn't there some sort of UI I could use?
version conflict
What happens if there are dependencies required by two modules or core and a
module, and there's a conflict with version requirements?
custom module
How can I include libraries and shared modules that
I made for my own sites (they're not on Packagist)?
make file
I have a Drush make file for my site.
Can I easily convert this to a `composer.json` file?
composer.json
I set up my Drupal 8 site by downloading archives from Drupal.org and copying them
into the codebase. How can I convert my codebase to use a `composer.json` file?
`^` and `~`
What is the difference between `^` and `~` in version requirements, and should I use
one over the other?
composer update
When I run `composer update` a lot of weird things happen
and everything is updated, even if I don't want it to be updated.
Is there a way I can just update one module at a time?
composer install
When I run `composer install` on my production server, it runs out of memory.
How can I avoid this issue?
security
For security reasons, I need to verify that the code
I'm running in production wasn't hacked or modified.
How can I do this if I'm using Composer to manage my dependencies?
re-cloning
I totally screwed up some of the dependencies on my site while I was tinkering with
them. Is there any way to 'nuke' all the things in my codebase that Composer manages
so I can do a fresh `composer install` and get them back into the correct state (short of
deleting my entire codebase and re-cloning my site locally)?
composer.lock
My team constantly battles with `composer.lock` file merge conflicts.
How can we avoid this painful experience?
tips
Do you have any other tips for
making Composer use easier and more delightful?

More Related Content

PDF
Docker, Ansible and Symfony micro-kernel
PPTX
How to outsource the pain of drupal translation to smartling from loparev
PDF
OpenY: Scaling and Sharing with Custom Drupal Distribution
PDF
Don’t fight with windmills. Upgrade path tool from OpenY distro - Igor Karpil...
PDF
Migration from Drupal 7 to Drupal 8 - How Docker can save our lives!
PDF
"Paragraphs are more powerful than you can expect" from Vasily Jaremchuk for ...
PDF
[drupalday2017] - DevOps: strumenti di automazione per Drupal8
PDF
Cross-platform Desktop application with AngularJS and build with Node-webkit
Docker, Ansible and Symfony micro-kernel
How to outsource the pain of drupal translation to smartling from loparev
OpenY: Scaling and Sharing with Custom Drupal Distribution
Don’t fight with windmills. Upgrade path tool from OpenY distro - Igor Karpil...
Migration from Drupal 7 to Drupal 8 - How Docker can save our lives!
"Paragraphs are more powerful than you can expect" from Vasily Jaremchuk for ...
[drupalday2017] - DevOps: strumenti di automazione per Drupal8
Cross-platform Desktop application with AngularJS and build with Node-webkit

What's hot (20)

PDF
Drupal 8 improvements for developer productivity php symfony and more
ODP
Eclipse Buildship DemoCamp Hamburg (June 2015) with additional screenshots
PDF
Headless approach and Acquia - Case study - Chris Ozog
PDF
node-webkit : Make a magic from your a desktop app to desktop app!
PDF
Getting Started with DrupalGap
PDF
[drupalday2017] - Speed-up your Drupal instance!
PDF
Andrew Mykhaliuk - Sorry, I need to make a build for frontend
PPTX
JavaScript All The Things
PDF
Building native desktop applications with node-webkit
PDF
[drupalday2017] - REST in pieces
PDF
Introduction to Composer for Drupal
PDF
Intro to Github Actions @likecoin
PDF
Best Practice Site Architecture in Drupal 8
PDF
Drupal 8 Configuration Management for you and your team
PDF
Amsterdam.js talk: node webkit
PDF
Bootstrapping your plugin
PDF
Building, Collaborating and Scaling Drupal Distributions for Federated Organi...
PDF
Composer & Drupal
PDF
The Workflow Methodology to Train Your Team on Drupal 8
PDF
Build your application in seconds and optimize workflow as much as you can us...
Drupal 8 improvements for developer productivity php symfony and more
Eclipse Buildship DemoCamp Hamburg (June 2015) with additional screenshots
Headless approach and Acquia - Case study - Chris Ozog
node-webkit : Make a magic from your a desktop app to desktop app!
Getting Started with DrupalGap
[drupalday2017] - Speed-up your Drupal instance!
Andrew Mykhaliuk - Sorry, I need to make a build for frontend
JavaScript All The Things
Building native desktop applications with node-webkit
[drupalday2017] - REST in pieces
Introduction to Composer for Drupal
Intro to Github Actions @likecoin
Best Practice Site Architecture in Drupal 8
Drupal 8 Configuration Management for you and your team
Amsterdam.js talk: node webkit
Bootstrapping your plugin
Building, Collaborating and Scaling Drupal Distributions for Federated Organi...
Composer & Drupal
The Workflow Methodology to Train Your Team on Drupal 8
Build your application in seconds and optimize workflow as much as you can us...
Ad

Similar to Composer & Deployer for enterprise - Oleksii Kalinichenko (20)

PPTX
Exploring composer in drupal 8 with drupal project - salva molina
PPTX
Composer JSON kills make files
PDF
Composer is the new Drush - Drupal Developer Training (internal)
PDF
Drupal + composer = new love !?
PDF
Stop making, start composing - Using Composer for Drupal development
PPTX
Managing your Drupal project with Composer
PDF
Efficient development workflows with composer
PDF
Using Composer with Drupal and Drush
PDF
Drush in the Composer Era
PDF
WordCamp Sacramento 2019: Modernizing Your Development Workflow Using Composer
PDF
Efficient development workflows with composer
PPTX
Composer
PDF
12 Composer #burningkeyboards
PDF
Composer yourself: a reintroduction to composer
DOCX
"The Power of Composer"
PDF
Lean Drupal Repositories with Composer and Drush
PDF
Php Dependency Management with Composer ZendCon 2016
PDF
Dependency management with Composer
PDF
Leveraging Composer in Existing Projects
PDF
Composer Best Practices
Exploring composer in drupal 8 with drupal project - salva molina
Composer JSON kills make files
Composer is the new Drush - Drupal Developer Training (internal)
Drupal + composer = new love !?
Stop making, start composing - Using Composer for Drupal development
Managing your Drupal project with Composer
Efficient development workflows with composer
Using Composer with Drupal and Drush
Drush in the Composer Era
WordCamp Sacramento 2019: Modernizing Your Development Workflow Using Composer
Efficient development workflows with composer
Composer
12 Composer #burningkeyboards
Composer yourself: a reintroduction to composer
"The Power of Composer"
Lean Drupal Repositories with Composer and Drush
Php Dependency Management with Composer ZendCon 2016
Dependency management with Composer
Leveraging Composer in Existing Projects
Composer Best Practices
Ad

More from DrupalCamp Kyiv (20)

PDF
Speed up the site building with Drupal's Bootstrap Layout Builder
PDF
Performance Monitoring with Google Lighthouse
PPTX
Oleg Bogut - Decoupled Drupal: how to build stable solution with JSON:API, Re...
PDF
Acquia BLT for the Win, or How to speed up the project setup, development an...
PDF
Upgrading to Drupal 9
PDF
THE INTERNET OF THINGS IS GETTING REAL
PDF
FRONT-END COMPONENTS IN DRUPAL THEME. "KAIZEN" - DRUPAL 8 THEME FROM SKILLD
PDF
DRUPAL AND ELASTICSEARCH
PDF
WHAT WE LEARNED FROM OPEN SOCIAL IN 3 YEARS, MOVING FROM AN AGENCY TO A PRODU...
PDF
Blackfire Workshop
PDF
DRUPAL 8 STORAGES OVERVIEW
PPTX
ONE MORE TIME ABOUT CODE STANDARDS AND BEST PRACTICES
DOCX
1-1 MEETING: STEP-BY-STEP-HOW-TO
PPTX
UX DURING MODULE INSTALLATION AND CONFIGURATION
PDF
SWITCHING FROM QA ENGINEER TO PROJECT MANAGER - LEVEL UP OR DOWN?
PDF
TECHNOLOGIES-POWERED WEB AND THE POST-BROWSER ERA
PPTX
PROTECTED CONTENT: END-TO-END PGP ENCRYPTION FOR DRUPAL
PDF
DRUPAL AUDITS MADE FASTR
PDF
FROM DISTRO TO CUSTOM - HOW WE CREATE GREAT COMMUNITIES FOR EVERY ORGANIZATIO...
PDF
SEARCH API: TIPS AND TRICKS - FROM BEGINNING TO CUSTOM SOLUTIONS
Speed up the site building with Drupal's Bootstrap Layout Builder
Performance Monitoring with Google Lighthouse
Oleg Bogut - Decoupled Drupal: how to build stable solution with JSON:API, Re...
Acquia BLT for the Win, or How to speed up the project setup, development an...
Upgrading to Drupal 9
THE INTERNET OF THINGS IS GETTING REAL
FRONT-END COMPONENTS IN DRUPAL THEME. "KAIZEN" - DRUPAL 8 THEME FROM SKILLD
DRUPAL AND ELASTICSEARCH
WHAT WE LEARNED FROM OPEN SOCIAL IN 3 YEARS, MOVING FROM AN AGENCY TO A PRODU...
Blackfire Workshop
DRUPAL 8 STORAGES OVERVIEW
ONE MORE TIME ABOUT CODE STANDARDS AND BEST PRACTICES
1-1 MEETING: STEP-BY-STEP-HOW-TO
UX DURING MODULE INSTALLATION AND CONFIGURATION
SWITCHING FROM QA ENGINEER TO PROJECT MANAGER - LEVEL UP OR DOWN?
TECHNOLOGIES-POWERED WEB AND THE POST-BROWSER ERA
PROTECTED CONTENT: END-TO-END PGP ENCRYPTION FOR DRUPAL
DRUPAL AUDITS MADE FASTR
FROM DISTRO TO CUSTOM - HOW WE CREATE GREAT COMMUNITIES FOR EVERY ORGANIZATIO...
SEARCH API: TIPS AND TRICKS - FROM BEGINNING TO CUSTOM SOLUTIONS

Recently uploaded (20)

PPTX
Tartificialntelligence_presentation.pptx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Approach and Philosophy of On baking technology
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPT
Teaching material agriculture food technology
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Spectroscopy.pptx food analysis technology
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Machine learning based COVID-19 study performance prediction
PPTX
1. Introduction to Computer Programming.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
Tartificialntelligence_presentation.pptx
MIND Revenue Release Quarter 2 2025 Press Release
Approach and Philosophy of On baking technology
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Teaching material agriculture food technology
Mobile App Security Testing_ A Comprehensive Guide.pdf
A comparative analysis of optical character recognition models for extracting...
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Spectroscopy.pptx food analysis technology
Reach Out and Touch Someone: Haptics and Empathic Computing
Machine learning based COVID-19 study performance prediction
1. Introduction to Computer Programming.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Encapsulation_ Review paper, used for researhc scholars
Per capita expenditure prediction using model stacking based on satellite ima...
Advanced methodologies resolving dimensionality complications for autism neur...
Group 1 Presentation -Planning and Decision Making .pptx

Composer & Deployer for enterprise - Oleksii Kalinichenko