定制 experius/ziggy 二次开发

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

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

experius/ziggy

Composer 安装命令:

composer require experius/ziggy

包简介

Tools for managing Akeneo projects and installations

README 文档

README

powered by Experius

The ziggy cli tools provides some handy tools to work with Akeneo from the command line.

Authors

Installation

There are three ways to install the tools:

Download and Install Phar File

Download the latest stable Experius Ziggy phar-file from the file-server_:

wget https://raw.githubusercontent.com/experius/ziggy/master/ziggy.phar

or if you prefer to use Curl:

curl -O https://raw.githubusercontent.com/experius/ziggy/master/ziggy.phar

Now you can make the phar-file executable:

chmod +x ./ziggy.phar

The base-installation is now complete and you can verify it:

./ziggy.phar --version

The command should execute successfully and show you the version number of Ziggy like:

ziggy 1.0.0-beta1 by Experius

You now have successfully installed Ziggy! You can tailor the installation further like installing it system-wide and enable autocomplete - read on for more information about these and other features.

If you want to use the command system wide you can copy it to /usr/local/bin.

sudo cp ./ziggy.phar /usr/local/bin/

Debian / suhosin:

On some Debian systems with compiled in suhosin the phar extension must be added to a whitelist.

Add this to your php.ini file:

suhosin.executor.include.whitelist="phar"

You don't like the filename?

Just rename it to whatever you want. Or better: create an alias so that the original command name still works. This can be useful if you exchange scripts that are making use of ziggy with other users as the canonical name is ziggy.phar, Some common aliases amongst the user-base are ziggy or just zy even.

Usage / Commands

All commands try to detect the current Akeneo root directory. If you have multiple Akeneo installations you must change your working directory to the preferred installation.

You can list all available commands by::

$ ziggy.phar list

If you don't have the .phar file installed system wide you can call it with the PHP CLI interpreter::

php ziggy.phar list

Global config parameters:

--root-dir
  Force Akeneo root dir. No auto detection.
--skip-config
  Do not load any custom config.
--skip-root-check
  Do not check if ziggy runs as root.

Media

Files - Remove Orphans

Remove orphaned files from disk (orphans are files which do exist but are not found the database).

$ ziggy.phar media:files:removeorphans

PIM User Management

List PIM users

List all PIM users.

$ ziggy.phar pim:user:list

Delete PIM user

Deletes a PIM user.

$ ziggy.phar pim:user:delete [email|username]

ID can be e-mail or username. The command will attempt to find the user by username first and if it cannot be found it will attempt to find the user by e-mail. If ID is omitted you will be prompted for it. If the force parameter "-f" is omitted you will be prompted for confirmation.

Change Password PIM user

Changes the password for a PIM user.

$ ziggy.phar pim:user:change-password [email|username] [password]

ID can be e-mail or username. The command will attempt to find the user by username first and if it cannot be found it will attempt to find the user by e-mail. If ID or password is omitted you will be prompted for it. If the force parameter "-f" is omitted you will be prompted for confirmation.

Create PIM user

Creates a PIM user.

$ ziggy.phar pim:user:create [options]

  Options:
        --username[=USERNAME]
        --password[=PASSWORD]
        --firstname[=FIRSTNAME]
        --lastname[=LASTNAME]
        --email[=EMAIL]
        --user-default-locale-code[=USER-DEFAULT-LOCALE-CODE]
        --catalog-default-locale-code[=CATALOG-DEFAULT-LOCALE-CODE]
        --catalog-default-scope-code[=CATALOG-DEFAULT-SCOPE-CODE]
        --default-tree-code[=DEFAULT-TREE-CODE]

Thanks to

  • Everyone who is raising a Ziggy! https://ziggy.akeneo.com/
  • netz98 Team for providing magerun2 and giving us the idea to create ziggy
  • Symfony Team for the great console component.

统计信息

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

GitHub 信息

  • Stars: 7
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2019-03-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固