hizzle/wp
Composer 安装命令:
composer require hizzle/wp
包简介
WordPress compatibility layer for Hizzle JS packages
关键字:
README 文档
README
A monorepo containing shared packages for WordPress plugin development.
Packages
Check out the packages the directory for information on each package and how to create/use them.
Development Setup
- Clone the repository:
git clone https://github.com/hizzle-co/hizzle.git
cd hizzle
- Install dependencies:
npm install
- Start development watcher:
npm run dev
- Build all packages:
npm run build
Usage in WordPress Plugins
- Install the HizzleWP package:
composer require hizzle/wp
- Install the required npm packages:
npm install @hizzlewp/components npm install --save-dev @hizzlewp/dependency-extraction-webpack-plugin
- Configure your webpack build to use the dependency extraction plugin:
const HizzleWPDependencyExtractionPlugin = require('@hizzlewp/dependency-extraction-webpack-plugin'); module.exports = { // ... other webpack config plugins: [new HizzleWPDependencyExtractionPlugin()], };
- Import components in your code:
import { Setting } from '@hizzlewp/components';
The imports will be automatically transformed to use the global window.hizzlewp object at runtime.
License
GPL-2.0-or-later
Release (to npm and composer)
npm run release release_type=minor
type accepts: major, minor, patch, premajor, preminor, prepatch, prerelease
This will:
- Build the packages
- Update the composer.json file with the new version
- Update the npm package version
- Generate the docs
- Commit and push the changes
- Create a new release on GitHub
- Release changed packages to npm
- Update the changelogs
- Update the composer package
NOTE:-
- You must have the GitHub CLI installed.
- You must be authenticated with sufficient permissions.
hizzle/wp 适用场景与选型建议
hizzle/wp 是一款 基于 TypeScript 开发的 Composer 扩展包,目前已累计 195 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 03 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「wordpress」 「wp」 「hizzle」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 hizzle/wp 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 hizzle/wp 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 hizzle/wp 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A standardized way of creating data stores for your projects
A standardized way of logging errors for your projects
Must-use plugin integrating WordPress with the Upsun platform: environment awareness, router-cache friendliness, safe preview clones, deploy migrations, Site Health checks, and a wp upsun CLI command.
Inertia.js server-side adapter for PHP. Handles full visits, Inertia XHR visits, asset-version 409 handshakes and partial reloads. Framework-agnostic, with transparent WordPress integration.
Adds Cache-Tag HTTP response headers for singular WordPress content and purges Cloudflare by tag when content changes.
AI Chatbot & Helpdesk Agent for WooCommerce. Connects your store to Egentify for AI-powered chat, order tracking, email, and ticketing.
统计信息
- 总下载量: 195
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2025-03-18