LoginSignup
3
2

More than 5 years have passed since last update.

EC-CUBE4にオーナーズストアからコマンドでプラグインをインストールする

Posted at

EC-CUBE4ではpluginの依存関係をcomposerで管理している。
以下のコマンドを利用することでオーナーズストアのAPI経由でプラグインをインストールできる。

先に有効な認証キーを設定しておく。

SQLの例
update dtb_base_info set authentication_key='xxxxxxxxxxxxxxxx';

EC-CUBE4の以下のコマンドを利用する。

プラグインのインストール
bin/console eccube:composer:require

実行例

実行例
bin/console eccube:composer:require "ec-cube/RelatedProduct4:^4.0"
bin/console eccube:composer:require "ec-cube/Recommend4:^4.0"

プラグインの依存関係の解決等でインストールには少し時間がかかる。

3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2