wkhayrattee/wordpress-with-composer
Composer 安装命令:
composer create-project wkhayrattee/wordpress-with-composer
包简介
This is a base setup for using WordPress with composer & git workflow. See the readme of usage.
关键字:
README 文档
README
This project is production ready.
If that matters, I have deployed several WooCommerce-based shops using this setup for the last 4yrs, as well as numourous WordPress blogs.
I obviously also use it on the high production shops/websites for my professional work-place. So far, no issue or constraints. It makes working and developing in WordPress a joy. It makes automated deploy very neat { helps achieve part of the goals for 12-factor principle }.
Now go rock your WordPress development workflow with confidence!
## How To Use
- Use Composer to setup the project:
$ composer create-project sevenphp/WordPresswithcomposer your_main_folder --no-dev --optimize-autoloader --prefer-dist -vv
NOTE: if on DEV environment, omit the --no-dev --optimize-autoloader --prefer-dist
- Setup your Config & .env files:
Inside the folder www/env, do:
- rename .env.example to .env and adjust the values as per your context
- Depending on whether you are on DEV or PRODuction, rename _dev-sample.php to dev.php and adjust the values as per your context
==> Then point your webServer to: path/to/your_main_folder/www/public
- Add any packages through Composer's require and enjoy building WordPress in a new flexible way, without using the dashboard - you control everything :)
## Intro
This is not a "project" (as in a framework) per se, but more of an attempt to adjust the structure of WordPress for PHP developers to be able to add & use Composer and GIT in their workflow.
I'm a PHP developer and like to stay current. I had to embark into DEV-ing with WordPress.
In so-doing, I now feel differently positive about coding with WordPress as well, although I have been using WordPress since 2007 like crazy at a functional level for online purposes (like blogging..etc).
While the code is not 5 star, WordPress in the philosophy is indeed amazing.
Think about it, it's the only_project that has not (never?) made its user-base suffer from upgrading.
It is always highly easy to upgrade. That, in itself is incredible! Anyway, so I wanted to be able to use GIT & a composer approach to my workflow and hence came up with this.
### Your Feedback
If you use this project, I would love to hear from you as well. I may feature your project in here to showcase. So get in touch.
NOTE:
I know & have seen roots.io, but it goes way too far in their approach - modifying the structure of WordPress, it's too risky of an approach. It's kinda overdoing it. (No offence, but that's how I feel)
### Objectives
- Incorporate composer & git workflow into my daily WordPress dev
- Make sure I do not divert too much from what WordPress advises in Giving WordPress Its Own Directory and Hardening WordPress
CHANGELOG
- Please see CHANGELOG for details.
REFERENCE
wkhayrattee/wordpress-with-composer 适用场景与选型建议
wkhayrattee/wordpress-with-composer 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 5, 最近一次更新时间为 2022 年 06 月 30 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「wordpress」 「use composer with wordpress」 「wordpress composer」 「composer wordpress」 「wordpress with composer」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 wkhayrattee/wordpress-with-composer 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 wkhayrattee/wordpress-with-composer 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 wkhayrattee/wordpress-with-composer 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
clean-core php library
Parse use statements for a reflection object
Parse use statements for a reflection object
This composer plugin enables installation of GravityForms WordPress plugin and its addons.
Simple ASCII output of array data
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2022-06-30