gturpin/oowprise
Composer 安装命令:
composer require gturpin/oowprise
包简介
OOWPrise is a WordPress starter theme that heavily employs object-oriented programming techniques.
README 文档
README
OOWPrise is a WordPress starter theme that heavily employs object-oriented programming techniques and modern WordPress tools.
Documentation can be found here https://gturpin-dev.github.io/OOWPrise
Installation
You can install OOWPrise using the following methods:
composer create-project gturpin/oowprise
After that, you must install the theme's dependencies :
composer install
npm install
# Or with the provided Makefile
make init
Usage
You have a built-in development environment that you can use to develop your theme without a WP installation.
It requires Docker and wp-env to be installed on your machine.
You have access to the following commands :
wp-env start # Start the development environment wp-env stop # Stop the development environment # Or with the provided Makefile make server:start make server:stop
Documentation
Build assets
To build assets, you can use the following commands :
npm run watch:theme # Watch CSS/JS assets for development npm run build:theme # Build CSS/JS assets for production # Or with the provided Makefile make watch:theme make build:theme
Gutenberg blocks
OOWPrise comes with a built-in block system that allows you to create blocks in a simple way.
You can create a new block using the following command :
make create-block
# Or with slug parameter to skip the prompt
make create-block slug=your-block-slug
This command will create a new block in the resources/blocks directory. Refer to the @wordpres/create-block documentation for more information.
To build your block, you can use the following command :
npm run watch:blocks # Watch blocks for development npm run build:blocks # Build blocks for production # Or with the provided Makefile make watch:blocks make build:blocks
Deployment
You can deploy your theme using the following command :
npm run theme-zip
# Or with the provided Makefile
make zip
This command will create a zip archive of your theme that can be uploaded to a WordPress installation.
Contributing
TODO: Write contribution guidelines
Credits
TODO: Write credits
License
The OOWPrise starter theme is open-sourced software licensed under the MIT license.
gturpin/oowprise 适用场景与选型建议
gturpin/oowprise 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 14 次下载、GitHub Stars 达 5, 最近一次更新时间为 2023 年 03 月 10 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「theme」 「wordpress」 「OOP」 「starter theme」 「object-oriented programming」 「oowprise」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 gturpin/oowprise 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 gturpin/oowprise 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 gturpin/oowprise 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A Bootstrap 4.x base theme for SilverStripe
A php library to bootstrap the use of Domain Driven Design valueObjects
Lucency Theme
Super simple HTTP client
Selectize Theme for Bootstrap 4
Kipopay payment gateway library OOP (PHP)
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 9
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2023-03-10
