定制 aaemnnosttv/wpenv 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

aaemnnosttv/wpenv

最新稳定版本:v0.3

Composer 安装命令:

composer require aaemnnosttv/wpenv

包简介

Environment-specific control over WordPress Options and more

README 文档

README

Environment-specific Control for WordPress

Inspired by phpdotenv for establishing environment variables, WPEnv allows WordPress-specific configuration at the environment level.

At present, WPEnv simply provides a way for manipulating WordPress options (get_option()), by hard-coding the values in a .wpenv.yml file.

Unlike Dotenv, WPEnv values are defined in a Yaml file, which allows us to store complex values like arrays, integers or boolean values, rather than just strings.

WPEnv modifies the return value of the options we want to control. Simple values are replaced by the values defined in .wpenv.yml.
Arrays are merged on top of the returned value (if it is an array), otherwise all defined values simply become the returned value.

Getting Started

统计信息

  • 总下载量: 2.55k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-07-31

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固