ixa/wordpress-core
Composer 安装命令:
composer require ixa/wordpress-core
包简介
WordPress fork that works with Composer
关键字:
README 文档
README
WordPress fork that works with Composer.
As of version 4.0, WordPress doesn't have Composer support. Using this fork you get a WordPress ready to be use as dependency in its own folder, and don't have to wait until WordPress core have built-in support.
Installation
require: {
"ixa/wordpress-core" : "~4.0"
}
If you are starting a new project, you can use Ixa WordPress Starter to get WordPress core and configuration files, running only one command
$ composer create-project ixa/wordpress-starter <project-name>
Configuration
A tipical file tree using WordPress and Composer is
+ wp-content # Defined by WP_CONTENT_DIR, WP_CONTENT_URL
+ themes
+ my-theme
+ uploads
+ plugins
+ wordpress # WordPress core
+ vendor
- wp-config.php # Main config file
- index.php # Must require './wordpress/wp-blog-header.php'
In order to run WordPress the following constants must be set in wp-config.php (example)
WP_HOME, URL of public area.WP_SITEURL, URL of WordPress instalationWP_CONTENT_DIRandWP_CONTENT_URL, Path and url for wp-content folder.themesandlanguagesfolders must be withinwp-contentand cannot be configurable
additionally, wp-config.php is a good place to require vendor/autoload.php.
And finally the index file must have the following:
<?php
define('WP_USE_THEMES', true);
require('./wordpress/wp-blog-header.php');
ixa/wordpress-core 适用场景与选型建议
ixa/wordpress-core 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 339 次下载、GitHub Stars 达 12, 最近一次更新时间为 2013 年 10 月 12 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「wordpress」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 ixa/wordpress-core 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 ixa/wordpress-core 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 ixa/wordpress-core 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
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.
MIDDAG's reference architecture for a WordPress plugin — composes the OSS framework/wordpress/ui libraries end to end.
Assets helper package for the Hybrid Core framework.
统计信息
- 总下载量: 339
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 12
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2013-10-12