Skip to main content
Appic Softwares Logo - Custom Software and App Development Company
  • AI/ML
  • Services
  • Industries
  • Platform
  • Hire Talent
  • Our Company
  • Blog
Contact Us
HomeBlogDrupal

Step-By-Step Guide To Update Drupal Core With Composer

Shubham Pareek
Dec 14, 2023
Back to Blog

Table of Contents

  • What is a composer?
  • Choose the target Drupal version.
  • Check to see if Drupal/co re-recommended or Drupal/core is being used for the project.
  • Conclusion

Share this

Step-By-Step Guide To Update Drupal Core With Composer

Updating the Drupal core and adding modules to the most recent version that has been released is best practice. Let’s get started with updating the core of Drupal. Although there are several approaches to upgrading the core, we are only talking about it with the composer at this time. Using Composer is also advised when handling Drupal’s dependencies.

What is a composer?

PHP has a tool called Composer for managing dependencies. It lets you specify which libraries are required for your project and takes care of installing and updating them. Drupal uses Composer to manage the various libraries it depends on. Modules can also incorporate third-party libraries using Composer. Composer is a tool for managing the different modules that make up a Drupal website. Discover the use of Composer in Drupal projects.

Choose the target Drupal version.

Try it in the development/local environment first. Avoid attempting to provide immediate production updates. Make a backup of the database, files, and code.

Rebuild the cache and place the website in maintenance mode as well.

drush state:set system.maintenance_mode 1
drush cache:rebuild

We must ascertain the most recent Drupal release as well as the version of our Drupal core before we can begin the update. It might be a little or significant update. We can use the command below to find out the most recent version.

composer outdated “drupal/*”

it will list all the available updates we can check drupal/core in the list as shown in the screen below.

Step-By-Step Guide To Update Drupal Core With Composer

Another option is to visit the Drupal release page, which lists all releases according to the major version of Drupal. We can examine the update’s highlights and performance.

For my project, Drupal 9.5.5 is the foundation, and the most recent version that has been made available is Drupal 9.5.8. We therefore intend to slightly update from 9.5.5 to 9.5.8.

Check to see if Drupal/co
re-recommended or Drupal/core is being used for the project.

run composer show drupal/core-recommended in the terminal

  1. The following command can be used to update the core if the previous command returns “Package Drupal/core-recommended not found,” indicating that Drupal/core-recommended is not installed using Drupal/core alone.
composer update drupal/core --with-dependencies
  1. Should the command “composer show Drupal/core-recommended” above provide any core information?

As you can see, the screen is displaying information about the core recommendation. To update the Drupal core, perform the command below.

composer update “drupal/core-*” —with–all–dependencies

Run database update

drush updatedb
drush cache:rebuild
and disable the m

# Disable site maintenance mode

drush state:set system.maintenance_mode 0
drush cr

Verify the update

You may check whether or not the Drupal website has been updated on the reports->available updates page.

Conclusion

We hope that this tu
torial has helped you with Drupal Core with Composer. Additionally, Appic Softwares is a company you should check out if you want to hire Drupal developers on a devoted basis.

You can employ our team of knowledgeable Drupal developers to handle your software.

So, what are you waiting for?

Hire them now!

Get Free Consultation Now!

Fill out the form below to get started.

Phone

Related Articles

Healthcare Software Development
4/6/2026

Healthcare Software Development: A Complete 2026 Guide

The roughly $600 billion in revenue that the healthcare software development industry generated this year has benefited the medical industry. In addition to the obvious benefits of effective patient care and simplified administrative data processing, addi tional drivers continue to fuel this rapid growth. Technology advances in AI and IoT, which enable effortless data and […]

Read More
On Demand App Development Cost
3/30/2026

How to Build an On Demand App Cost and Features Guide

This article explains how to build an on demand app and understand on demand app development cost. It covers essential features, development steps, and cost estimates. You will also learn what affects on demand app development cost and how to reduce expenses. This guide helps businesses plan and build scalable on demand applications successfully.
Read More
What is Proptech In Real Estate? Types, Examples, And More 2026
3/28/2026

What is Proptech In Real Estate? Types, Examples, And More 2026

The proptech industry is growing rapidly. It accounted for USD 38,432.2 million in 2024 and is expected to reach $47.08 billion by 2025, growing at a CAGR of 16%. However, if you still need to learn what Proptech is in Real Estate, then this post is for you.  Real estate is well-known for using traditional […]

Read More

Our Drupal Services

Mobile App Development →AI Development Services →Web Development →E-Commerce Development →

Share Your Ideas Here!

We are all ears!

Get in touch with us

  • Contact info type iconsales@appicsoftwares.com
  • Contact info type icon
    +91 - 8233801424,+91 - 9887354080
  • Contact info type iconlive:appicsoftwares
  • Contact info type icon41/11 Varun Path, New Sanganer Road, Jaipur, Rajasthan
  • Follow Us

Your Partner Everywhere!

Appic Softwares Jaipur office illustration

India

41/11 Varun Path, New Sanganer Road, Jaipur, Rajasthan

Appic Softwares USA office illustration

USA

5 Cowboys Way, Suite 300, Frisco, TX 75034, USA

Appic Softwares Germany office illustration

Germany

Magdalenenstraße 34, 80638 München, Germany

About

  • Our company
  • Blog
  • Portfolio
  • Case Studies
  • Let's connect
  • Career

Services

  • iOS App Development
  • Android App Development
  • Software Development
  • Flutter App Development
  • Mobile App Development
  • Ionic development
  • Maintenance & Support

Portfolio

  • Bridl
  • Obdoor
  • Laiqa
  • Rocca Box
  • Plantify
  • City of Cars
  • No-limit-Qr
  • Sync Remote

Platform

  • Artificial Intelligence
  • Blockchain
  • IOT
  • MVP
  • Angular
  • PWA
  • Devops
  • Drupal

Industries

  • Restaurant
  • Healthcare
  • Real estate
  • On-demand
  • Travel
  • Education
  • Fitness
  • Pet Care

Recognized For Excellence

GoodFirms Award
TopDevelopers.co Award
Clutch Leader Award
DesignRush Award
SelectedFirms Award

© 2026 Appic Softwares. All Rights Reserved. |Privacy Policy