About Composer/Drush
What is Composer
A composer is a tool for Dependency Management in PHP. It allows us to declare the library for our project. And it will manage the libraries for use in our project.
— Dependency Management —
Composer is not a package manager like YUM or APT. It deals with packages or libraries. It will manage them on a per-project basis, installing them in a directory inside your project. By default, it does not install anything globally. Thus, it is a dependency manager. It supports the global project for convenience via the global command.
suppose:
- We have a project that depends on the number of libraries.
- Some of the libraries depend on the other libraries.
Composer:
- Composer enables you to declare the libraries you depend on.
- It will find out which version or packages need to be installed and install them in your project.
- You can update all your dependencies in one command.
Composer is multi-platform and it will run on Windows, Linux, and macOS.
What is Drush
Drush is a command-line interface that allows users to manage the drupal site. It makes the drupal site easy and fast.This scripting shell should be additionally installed on your hosting server in order to benefit from its feature.It is pre-installed on the SiteGround servers and you can use it with your Drupal Hosting Package.
