Magento libraries

Overview

Magento uses the following types of libraries:

  • Magento PHP libraries, which are discussed in the next section

  • Magento UI libraries, which are located in the lib/web directory

    For more information, see library documentation on GitHub and View Library.

  • Third-party libraries. These libraries include JavaScript libraries as well as PHP-based ones (including the Zend libraries).

    Third-party libraries are organized by vendor to be PSR-0 compliant.

Magento PHP libraries

Magento PHP libraries include independent libraries of code useful to a Magento application. Each library has minimal dependencies on other library.

For example:

Other Magento libraries do not reference Magento\Framework\App.

Modules

Themes

Language packages

Third-party libraries