承接 fivefifteen/wordup 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

fivefifteen/wordup

Composer 安装命令:

composer require fivefifteen/wordup

包简介

A WordPress Deployer Recipe.

README 文档

README

WordUp

WordUp

A WordPress Deployer Recipe.

packagist package version packagist package downloads GitHub code size in bytes license


A Five Fifteen Project

Table of Contents

Requirements

  • PHP 8.1 or above
  • Composer

Installation

composer require-dev fivefifteen/wordup

Setup

To get started, copy examples/deploy.php and examples/deploy.yml into the root of your project. You'll then want to update both of those files to meet your needs.

Configuration

Configuration options can be defined/updated in either deploy.yml or by using the add/set functions in deploy.php.

WordUp uses Deployer and it's Common Recipe at it's core so you'll want to familiarize yourself with both of those.

Configuration Options

These are options that are custom to WordUp. See the source of recipe/wordup.php to view the default values (as well as any built-in Deployer options that WordUp modifies).

  • db/credentials - A list of database credentials
    • host - The database host
    • name - The database name
    • user - The database username
    • pass - The database password
    • prefix - The database tables prefix
    • charset - The database charset
    • collate - The database collate
  • db/exports_dir - The name of the directory to save database exports to
  • db/exports_path - The remote path to save database exports to
  • db/keep_exports - If falsy, database exports will not be deleted from the remote server after downloading
  • db/keep_local_exports - If truthy, database exports will be deleted from the local environment after importing
  • templates/files - A list of .mustache files to be rendered
  • templates/temp_dir - A temporary directory to store template files before uploading them to a remote server
  • wp/config/constants - An associative array of constants to be defined in wp-config.php
  • wp/config/extra_php - PHP code to be included in wp-config.php
  • wp/config/require - A list of files to be required by wp-config.php
  • wp/content_dir - The name of WordPress's content directory
  • wp/content_path - The remote path to WordPress's content directory
  • wp/home - The home URL for your WordPress website
  • wp/salts/temp_dir - A temporary directory to store generated salts
  • wp/siteurl - The URL to the WordPress directory
  • wp/uploads_dir - The name of the WordPress uploads directory
  • wp/uploads_path - The remote path to the WordPress uploads directory

Tasks

Database Tasks

  • db:export - Exports the local database
  • db:import - Imports a database export into the local database
  • db:export:remote - Exports and downloads the remote database
  • db:import:remote - Uploads a local database export and imports it into the remote database
  • db:pull - Pulls remote database to localhost (invokes db:export:remote and db:import)
  • db:push - Pushes local database to remote host (invokes db:export and db:import:remote)

Templates Tasks

  • templates:render - Renders mustache template files

Uploads Tasks

  • uploads:pull - Pulls uploads from remote to local
  • uploads:push - Pushes uploads from local to remote
  • uploads:sync - Syncs uploads between local and remote

WordPress Tasks

  • wp:config:create - Generates a wp-config.php file
  • wp:salts:php - Generates salts in PHP format and saves them to a file
  • wp:salts:json - Generates salts in JSON format and saves them to a file
  • wp:salts:yml - Generates salts in YML format and saves them to a file

Usage

dep <task> <stage>

Usage Examples

# Deploy to staging
dep deploy staging

# Export the database from production, download it, and import it into the local database
dep db:pull production

# Generate a wp-config.php file for my local environment
dep wp:config:create localhost

License Information

MIT. See the license.md file for more info.

fivefifteen/wordup 适用场景与选型建议

fivefifteen/wordup 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 207 次下载、GitHub Stars 达 3, 最近一次更新时间为 2024 年 12 月 05 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「cli」 「git」 「deploy」 「version」 「wordpress」 「upload」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 fivefifteen/wordup 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 fivefifteen/wordup 我们能提供哪些服务?
定制开发 / 二次开发

基于 fivefifteen/wordup 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-12-05