select-co/module-core
最新稳定版本:1.0.5
Composer 安装命令:
composer require select-co/module-core
包简介
N/A
README 文档
README
Utility core module for SelectCo Magento 2 extensions. It provides shared helpers and services used across SelectCo modules, including:
- Config helper for safely reading/writing config and clearing caches
- Store helper for retrieving common Store Information and email sender identities
- Simple email Sender service wrapping Magento's TransportBuilder
This module is intended to reduce duplication between SelectCo modules.
Features
- Read configuration values with sensible defaults
- Programmatically write configuration values to specific scopes and IDs
- Clear cache types and reinit Magento configuration
- Convenience methods for Store Information (name, address, hours, VAT, etc.)
- Convenience methods for email identities (general, sales, support, custom1, custom2)
- Utility to send templated emails with minimal boilerplate
Requirements
- Magento 2 (tested with 2.3.5)
- PHP version compatible with your Magento installation
Installation
You can install this module either via Composer or by placing it in app/code.
Composer (preferred)
- Require the package:
- If available via your satis/packagist:
composer require select-co/module-core - If using this repository directly, add a VCS repository entry in your root composer.json and then
composer require select-co/module-core.
- If available via your satis/packagist:
- Enable and set up the module:
bin/magento module:enable SelectCo_Corebin/magento setup:upgrade- In production mode:
bin/magento setup:di:compileandbin/magento setup:static-content:deploy -f
Manual installation (app/code)
- Copy this directory to
app/code/SelectCo/Core. - Run:
bin/magento module:enable SelectCo_Corebin/magento setup:upgrade- In production mode:
bin/magento setup:di:compileandbin/magento setup:static-content:deploy -f
License
MIT. See LICENSE.
Support
If you have a feature request or spotted a bug or a technical problem, create a GitHub issue.
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: Proprietary
- 更新时间: 2025-10-20