friends-of-hyva/magento2-paradise-csp-workshop-meta
Composer 安装命令:
composer require friends-of-hyva/magento2-paradise-csp-workshop-meta
包简介
Hyva Developer Paradise - metapackage for workshop modules
README 文档
README
Welcome to the island. The sun is shining, the drinks are cold, and your Alpine components are throwing CSP errors.
Don't worry — by the time you leave, you'll know exactly why that happens and how to fix it. This workshop will take you from "what even is CSP?" to confidently migrating real Hyva code to strict Content Security Policy compliance.
What's in the box
This metapackage installs everything you need for the workshop:
| Package | What it does |
|---|---|
magento2-paradise-csp-workshop-frontend |
A learning hub with intentionally broken CSP code to fix |
magento2-paradise-csp-workshop-checkout |
A custom checkout payment method — also intentionally broken |
hyva-themes/magento2-default-theme |
The Hyva default theme |
hyva-themes/magento2-default-theme-csp |
The CSP-compliant Hyva theme layer |
Installation
composer require friends-of-hyva/magento2-paradise-csp-workshop-meta bin/magento setup:upgrade --keep-generated
That's it. Both workshop modules will be active and ready for you to break — er, fix.
Hyva theme license
The Hyva default theme and CSP theme layer require a Hyva license to install. A free license is available at hyva.io/hyva-theme-license.html — register with your email address and follow the instructions to receive one right away.
The Hyva Checkout package requires a paid Hyva Checkout license. If you have one, the package is available through the Hyva Composer repository using the same credentials.
If the package isn't on Packagist yet
If composer require can't find the package, add the GitHub repositories manually to your project's composer.json.
Add all three to the repositories section:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/friends-of-hyva/magento2-paradise-csp-workshop-meta"
},
{
"type": "vcs",
"url": "https://github.com/friends-of-hyva/magento2-paradise-csp-workshop-frontend"
},
{
"type": "vcs",
"url": "https://github.com/friends-of-hyva/magento2-paradise-csp-workshop-checkout"
}
]
}
Then run:
composer require friends-of-hyva/magento2-paradise-csp-workshop-meta bin/magento setup:upgrade --keep-generated
Where to start
Read the Study Guide first. It explains what you'll learn, how the workshop is structured, and which path to take depending on your goals.
The migration tool
A copy of hyva-csp-helper.php is included in tools/. It can automatically migrate the most common CSP patterns in any Hyva module. Full documentation at:
The tool handles about 90% of real-world cases. The remaining 10% is where the learning happens — and this workshop is designed to take you through exactly that.
License
friends-of-hyva/magento2-paradise-csp-workshop-meta 适用场景与选型建议
friends-of-hyva/magento2-paradise-csp-workshop-meta 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 3 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 04 月 15 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 friends-of-hyva/magento2-paradise-csp-workshop-meta 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 friends-of-hyva/magento2-paradise-csp-workshop-meta 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 33
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2026-04-15