devuri/wpenv-console 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

devuri/wpenv-console

Composer 安装命令:

composer require devuri/wpenv-console

包简介

A Composer package for handling encryption and decryption operations.

README 文档

README

License

WPEnv Console is a command-line tool designed to simplify WordPress development and management tasks. It that extends the functionality of the WPEnv development environment. It provides a set of commands to streamline common WordPress tasks and enhance your workflow. Whether you're setting up a new WordPress environment, managing plugins and themes, or performing routine maintenance, WPEnv Console has you covered.

Note This repository houses the fundamental console components of wp-env-config. If you are developing an application, please utilize wp-env-app located in this repository: wp-env-app.

Features

  • WordPress Environment Management: Easily create, configure, and manage WordPress environments with commands like make:env, serve, and setup.

  • Plugin and Theme Installation: Install and manage plugins and themes directly from the WordPress Packagist repository using the install:package command.

  • Database Management: Create database backups, generate .htpasswd files for authentication, and set up database admin directories with ease.

  • WordPress Installation: Quickly install WordPress with customizable options using the wp:install command.

  • Auto-login URLs: Generate auto-login URLs for users during development and testing with the wp:login command.

Installation

You can install WPEnv Console via Composer by running:

composer require devuri/wpenv-console

Usage

Once installed, you can run WPEnv Console commands using php bin/nino followed by the desired command. For example:

php nino make:env my-project

For a complete list of available commands and their descriptions, run:

php nino list

Available Commands

WPEnv Console offers the following commands to simplify your WordPress development tasks:

  1. Make Environment: Create a new WordPress environment.

    php bin/nino make:env <name>
  2. Serve: Start the built-in PHP web server.

    php bin/nino serve
  3. Setup: Creates a fresh .env file .

    php bin/nino setup <replacement_domain>

    Running php nino setup will check for an existing .env file. If found, it creates a new version with a timestamp, facilitating an effortless update to the latest .env file standards.

  4. Install Package: Add a plugin or theme via Composer using the slug only.

    php bin/nino install <package_slug>  <plugin_or_theme>
  5. Generate .htpasswd: Create an .htpasswd file for authentication.

    php bin/nino make:htpass [--username=<username>] [--password=<password>]
  6. Database Backup: Backup the WordPress database.

    php bin/nino db:backup
  7. Generate Composer: Generate a fresh copy of composer.json and run composer install.

    php bin/nino make:composer
  8. WordPress Installation: Install WordPress with customizable options.

    php bin/nino wp:install [--title=<blog_title>] [--user=<admin_username>] [--email=<admin_email>]
  9. WordPress Auto-login: Generate an auto-login URL for a user.

    php bin/nino wp:login [--user=<admin_username>]
  10. Create DB Admin Directory: Create a database admin directory.

    php bin/nino make:dbadmin [--_dir=<directory_name>]

Contributing

Contributions, issues, and feature requests are welcome! Feel free to check out the contributing guidelines and code of conduct.

License

WPEnv Console is open-source software licensed under the MIT License. You are free to use, modify, and distribute it as per the terms of the license.

Support and Feedback

For questions, issues, or feedback related to WPEnv Console, please visit the GitHub repository or join the community.

devuri/wpenv-console 适用场景与选型建议

devuri/wpenv-console 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 77 次下载、GitHub Stars 达 1, 最近一次更新时间为 2023 年 09 月 23 日, 在 PHP 生态内属于活跃度较高的组件。

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

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

围绕 devuri/wpenv-console 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

  • 总下载量: 77
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 8
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-09-23