DEV Community

innoraft12
innoraft12

Posted on

3 1

Composerizing a non-composerized Drupal site to a Composerized Drupal site

  1. “Composer is a dependency manager tool for PHP.” This means that we can easily manage php libraries and their dependencies using Composer.
  2. In terms of Drupal, we can download and manage Drupal core, contributed profiles, modules, themes and libraries using Composer. In fact, the entire project can also be managed using Composer.
  3. Using Composer is the modern way to work in PHP as modern frameworks utilize Composer to manage their dependencies, and it is nice that we can do the same in Drupal.
  4. Composer also gives us the ability to autoload PHP classes thus making code easier to read and write.

How do we shift from Non-Composer managed website to Composer managed website?

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

Top comments (0)

👋 Kindness is contagious

If you found this post helpful, please consider leaving a ❤️ or a kind comment!

Sounds good!