opengento/composer-registration-plugin

This plugin allows to compile the Magento2 components registrations on composer install/update.

2.0.0 2022-03-21 15:05 UTC

This package is auto-updated.

Last update: 2024-11-25 00:46:20 UTC


README

Latest Stable Version License: MIT Packagist Packagist

This module add a global registration.php that replace the default glob search performed for each request to discover the components not installed from composer.

Setup

Magento 2 Open Source or Commerce edition is required.

Composer installation

Run the following composer command:

composer require opengento/composer-registration-plugin

Features

This composer plugin will generate a global registration.php file for components in app & setup directories.

Documentation

In order to optimize you project, your autoload section should be the same:

{
  "autoload": {
    "psr-4": {
      "Magento\\Setup\\": "setup/src/Magento/Setup/",
      "Zend\\Mvc\\Controller\\": "setup/src/Zend/Mvc/Controller/"
    }
  }
}

Support

Raise a new request to the issue tracker.

Authors

  • Opengento Community - Lead - Twitter Follow
  • Contributors - Contributor - GitHub contributors

License

This project is licensed under the MIT License - see the LICENSE details.

That's all folks!