承接 emanuellopes/wordpress-dumps 相关项目开发

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

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

emanuellopes/wordpress-dumps

最新稳定版本:1.0.1

Composer 安装命令:

composer require emanuellopes/wordpress-dumps

包简介

WordPress Package for laradumps

README 文档

README

How to use

  1. first install this package with composer and define WP_ENVIRONMENT_TYPE as local
composer require emanuellopes/wordpress-dumps --dev
define('WP_ENVIRONMENT_TYPE', 'local');
  1. if you want to override the location of env file you can always use the filter
add_filter('WordpressDumps/appBasePath', function(string $path) {
    return 'another location';
});
  1. Create a .env file in your theme or plugin or in other place, you can follow the reference for laradumps. https://laradumps.dev/get-started/configuration.html

For Docker users, you can use the following configuration

DS_APP_HOST=host.docker.internal
DS_APP_PORT=9191
DS_AUTO_INVOKE_APP=true #enabled
DS_SEND_QUERIES=true #enabled

For default php configuration you can use the following configuration

DS_APP_HOST=127.0.0.1
DS_APP_PORT=9191
DS_AUTO_INVOKE_APP=true #enabled
DS_SEND_QUERIES=true #enabled

then you can use it in your code like this

ds('my-dump');

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-08-17