friends-of-hyva/magento2-paradise-csp-workshop-meta 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

friends-of-hyva/magento2-paradise-csp-workshop-meta

最新稳定版本:1.0.0

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

Open Software License ("OSL") v. 3.0

统计信息

  • 总下载量: 3
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2026-04-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固