opengento / composer-registration-plugin
This plugin allows to compile the Magento2 components registrations on composer install/update.
Installs: 663
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 10
Forks: 0
Open Issues: 0
Type:composer-plugin
Requires
- php: ~7.1||~7.2||~7.3||~7.4||^8.0
- composer-plugin-api: ^1.0||^2.0
- laminas/laminas-code: ^3.4||^4.0
- magento/magento-composer-installer: *
Requires (Dev)
- roave/security-advisories: dev-master
README
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
License
This project is licensed under the MIT License - see the LICENSE details.
That's all folks!