Managing dependencies with Composer

Magento works with Composer (https://www.getcomposer.org) to generate reliable deployments of Magento components. Composer is a dependency manager for PHP created by Nils Adermann and Jordi Boggiano. This is a great evolution in the Magento system because this management can provide a powerful environment for modules and theme management.

Inspired by npm (https://www.npmjs.com) and bundler (http://www.bundler.io), Composer manages the dependencies of your project and installs packages using the composer.json file in the Magento module or theme. This kind of management is very useful once each library has your specific dependency. Composer doesn't let you waste your time by connecting the dependencies of every ...

Get Magento 2 Theme Design - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.