aimanecouissi/module-hyva-boxicons
Composer 安装命令:
composer require aimanecouissi/module-hyva-boxicons
包简介
Add the Boxicons SVG icon set to Hyvä Themes
README 文档
README
Integrates the Boxicons free SVG icon set into Hyvä Themes, exposing basic, filled,
and brands styles as dedicated SvgIcons view models. Browse the included icons
in the SVG directory
or preview them at boxicons.com.
Note
This module only includes the free Boxicons set.
Installation
composer require aimanecouissi/module-hyva-boxicons bin/magento module:enable AimaneCouissi_HyvaSvgIcons AimaneCouissi_HyvaBoxicons bin/magento setup:upgrade bin/magento cache:flush
Usage
In Hyvä PHTML templates
Require the view models for the styles you need and call their helper methods to render icons:
<?php use AimaneCouissi\HyvaBoxicons\ViewModel\BoxiconsBasic; use AimaneCouissi\HyvaBoxicons\ViewModel\BoxiconsBrands; use AimaneCouissi\HyvaBoxicons\ViewModel\BoxiconsFilled; use Hyva\Theme\Model\ViewModelRegistry; /** @var ViewModelRegistry $viewModels */ $boxiconsBasic = $viewModels->require(BoxiconsBasic::class); $boxiconsFilled = $viewModels->require(BoxiconsFilled::class); $boxiconsBrands = $viewModels->require(BoxiconsBrands::class); ?>
<?= $boxiconsBasic->cartHtml('w-6 h-6', 24, 24, ['aria-label' => 'Cart']) ?> <?= $boxiconsFilled->starHtml('w-5 h-5 text-yellow-400', 20, 20, ['aria-hidden' => 'true']) ?> <?= $boxiconsBrands->instagramHtml('w-6 h-6', 24, 24, ['aria-label' => 'Instagram']) ?>
Methods are generated from SVG filenames and fully documented via PHPDoc on each view model, so your IDE can autocomplete them.
In CMS content
The module registers three icon prefixes for Hyvä SvgIcons: boxicons-basic, boxicons-filled, and
boxicons-brands. Icons can be used directly in CMS pages, blocks, and widgets:
{{icon "boxicons-basic/cart" classes="inline-block w-6 h-6" width=24 height=24}}
{{icon "boxicons-filled/star" classes="inline-block w-5 h-5 text-yellow-400" width=20 height=20}}
{{icon "boxicons-brands/instagram" classes="inline-block w-6 h-6" width=24 height=24}}
Uninstall
bin/magento module:disable AimaneCouissi_HyvaBoxicons composer remove aimanecouissi/module-hyva-boxicons bin/magento setup:upgrade bin/magento cache:flush
Changelog
See CHANGELOG for all recent changes, including icon set version updates.
License
The Boxicons SVG icons are created by Boxicons and licensed under CC BY 4.0.
Warning
Individual brand icons may be subject to their own trademark and usage guidelines. Trademark usage is the responsibility of the end user. Please consult individual brand guidelines before displaying logos in commercial contexts.
This module's source code is separately licensed under MIT.
aimanecouissi/module-hyva-boxicons 适用场景与选型建议
aimanecouissi/module-hyva-boxicons 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 1, 最近一次更新时间为 2025 年 11 月 22 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「magento」 「magento2」 「svg-icons」 「Boxicons」 「hyva」 「adobe-commerce」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 aimanecouissi/module-hyva-boxicons 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 aimanecouissi/module-hyva-boxicons 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 aimanecouissi/module-hyva-boxicons 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Russian Language Pack for Magento 2
DPD Magento2 Shipping extension
Auto generate related products for Magento 2
Magento 2 Social Login extension is designed for quick login to your Magento 2 store without procesing complex register steps
Magento - Clean up session extension
This is a module that extends Magento2 API to get list of TOP products.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 18
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-11-22