Composer is an application-level dependency manager for the PHP programming language that provides a standard format for managing dependencies of PHP software and required libraries.

Composer runs from the command line and installs dependencies (e.g. libraries) for an application. It also allows users to install PHP applications that are available on “Packagist” which is its main repository containing available packages. It also provides autoload capabilities for libraries that specify autoload information to ease usage of third-party code.

Composer is not a package manager in the same sense as Yum or Apt are. It manages them on a per-project basis, installing them in a directory inside the project. By default, it does not install anything globally. Thus, it is a dependency manager. It can support a “global” project for convenience via the global command.

Composer in Magento

Composer enables you to manage Magento components and their dependencies, providing you with the following advantages over a ZIP install:

  • Enables you to reuse third-party libraries without bundling them with source code
  • Component-based architecture with robust dependency management
  • Semantic versioning
  • Supports the PHP Framework Interoperability standard

Hello, I'm Keith, a website developer in Belfast, Northern Ireland working with PHP, Magento, Shopify and WordPress.

I've been building websites for over 10 years, from custom website development to bespoke web applications, Shopify and Magento ecommerce and Online Leaning Environments. I've worked on a range of projects and am always looking out for the next interesting project.

Related Notes Posts

Latest web image formats

There are a number of new image formats that have been developed in recent years to improve the performance and quality of images on websites.... March 2023 · Notes

Using OpenAI tools in ecommerce environments

OpenAI is a leading artificial intelligence (AI) research organization that has the potential to revolutionise the ecommerce industry. By leveraging OpenAI's cutting-edge AI technologies, ecommerce... February 2023 · Notes

Mobile-first Web Design

Mobile-first web design Mobile-first web design is a design approach that prioritises mobile devices when designing a website. Instead of designing a website for desktop... January 2023 · Notes

More Notes Posts...