Download the PHP package pronko/magento2-core without Composer
On this page you can find all versions of the php package pronko/magento2-core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pronko/magento2-core
More information about pronko/magento2-core
Files in pronko/magento2-core
Package magento2-core
Short Description Pronko Consulting core module for Magento 2 — shared admin tab and ACL for all Pronko modules
License OSL-3.0
Informations about the package magento2-core
Pronko Core for Magento 2
Shared foundation module for all Pronko Consulting Magento 2 extensions.
What this module provides
- Parent ACL resource —
Pronko_Core::pronko("Pronko Consulting") underMagento_Backend::admin - Admin configuration tab — "Pronko Consulting" tab in Stores → Configuration (sortOrder 400)
- Brand assets — shared Pronko Consulting icon for admin UI use
- Shared logger — PSR-3 logger virtual type writing to
var/log/pronko.log
This module contains no business logic, no tracking, and no setup scripts. It exists solely to give all Pronko modules a consistent, shared home in the Magento admin.
Installation
Usage for module developers
1. Declare the dependency
etc/module.xml:
composer.json:
2. Nest your ACL under the Pronko parent
etc/acl.xml:
3. Use the shared logger
Inject Pronko\Core\Logger in your module's etc/di.xml to route log entries to var/log/pronko.log:
etc/di.xml:
All Pronko modules log to the same pronko.log file, keeping errors isolated from Magento's system.log.
4. Reference the shared tab in your config section
etc/adminhtml/system.xml:
Compatibility
| Platform | Version |
|---|---|
| Magento Open Source | 2.4.4 — 2.4.x |
| Adobe Commerce | 2.4.4 — 2.4.x |
| MageOS | 2.4.6+ |
| PHP | 8.1+ |
License
Open Software License 3.0 (OSL-3.0)
Built by Pronko Consulting
All versions of magento2-core with dependencies
magento/framework Version >=103.0.0
magento/module-backend Version >=102.0.0