enelogic/wpml-installer 问题修复 & 功能扩展

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

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

enelogic/wpml-installer

Composer 安装命令:

composer require enelogic/wpml-installer

包简介

An install helper for Wordpress Multilingual (WPML), based of Philipp Baschke it's plugin to install ACFPro

README 文档

README

Add a repository for each WPML plugin you want to use (under repositories in composer.json)

        {
            "type": "package",
            "package": {
                "name": "wpml/wpml-multilingual-cms",
                "version": "3.9.3",
                "type": "wordpress-plugin",
                "dist": {
                  "type": "zip",
                  "url": "https://httpbin.org/status/400?"
                },
                "require": {
                  "enelogic/wpml-installer": "^0.1",
                  "composer/installers": "^1.0"
                }
            }
        }

(traling slash matters on that httpbin url)

And then require:

wpml/wpml-multilingual-cms

or in composer.json, add this to require

"wpml/wpml-multilingual-cms": "*",

Then set up environment vars for:

WPML_KEY

WPML_USER_ID

You can find these by logging into WPML website and copy/pasting a download link for any of the plugins.

WPML_KEY = subscription_id parameter on the url

WPML_USER_ID = user_id parameter on the url

You should be all set - rinse and repeat for other WPML plugins - a fuller config is below for easier copy/paste.

More packages for easy copy/paste - edit the versions to whatever is current.

        {
            "type": "package",
            "package": {
                "name": "wpml/wpml-multilingual-cms",
                "version": "3.9.3",
                "type": "wordpress-plugin",
                "dist": {
                  "type": "zip",
                  "url": "https://httpbin.org/status/400?"
                },
                "require": {
                  "enelogic/wpml-installer": "^0.1",
                  "composer/installers": "^1.0"
                }
            }
        },

        {
            "type": "package",
            "package": {
                "name": "wpml/wpml-string-translation",
                "version": "2.7.3",
                "type": "wordpress-plugin",
                "dist": {
                  "type": "zip",
                  "url": "https://httpbin.org/status/400?"
                },
                "require": {
                  "enelogic/wpml-installer": "^0.1",
                  "composer/installers": "^1.0"
                }
            }
        },

        {
            "type": "package",
            "package": {
                "name": "wpml/wpml-translation-management",
                "version": "2.5.2",
                "type": "wordpress-plugin",
                "dist": {
                  "type": "zip",
                  "url": "https://httpbin.org/status/400?"
                },
                "require": {
                  "enelogic/wpml-installer": "^0.1",
                  "composer/installers": "^1.0"
                }
            }
        },

        {
            "type": "package",
            "package": {
                "name": "wpml/wpml-sticky-links",
                "version": "1.4.3",
                "type": "wordpress-plugin",
                "dist": {
                  "type": "zip",
                  "url": "https://httpbin.org/status/400?"
                },
                "require": {
                  "enelogic/wpml-installer": "^0.1",
                  "composer/installers": "^1.0"
                }
            }
        },

        {
            "type": "package",
            "package": {
                "name": "wpml/wpml-cms-nav",
                "version": "1.4.22",
                "type": "wordpress-plugin",
                "dist": {
                  "type": "zip",
                  "url": "https://httpbin.org/status/400?"
                },
                "require": {
                  "enelogic/wpml-installer": "^0.1",
                  "composer/installers": "^1.0"
                }
            }
        },

        {
            "type": "package",
            "package": {
                "name": "wpml/wpml-media",
                "version": "2.2.3",
                "type": "wordpress-plugin",
                "dist": {
                  "type": "zip",
                  "url": "https://httpbin.org/status/400?"
                },
                "require": {
                  "enelogic/wpml-installer": "^0.1",
                  "composer/installers": "^1.0"
                }
            }
        }

and requires:

"wpml/wpml-multilingual-cms": "*",
"wpml/wpml-string-translation": "*",
"wpml/wpml-translation-management": "*",
"wpml/wpml-sticky-links": "*",
"wpml/wpml-cms-nav": "*",
"wpml/wpml-media": "*",

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 2
  • Forks: 11
  • 开发语言: PHP

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固