プラグインインストール&有効化手順
メンテナンス画面に変更
touch .maintenance
キャッシュ削除&キャッシュ生成
php bin/console cache:clear --no-warmup
php bin/console cache:warmup
パッケージダウンロード(オーナーズストアプラグインのみ)
php bin/console eccube:composer:require ec-cube/<PluginCode>
インストール
php bin/console eccube:plugin:install --code <PluginCode>
キャッシュ削除&キャッシュ生成
php bin/console cache:clear --no-warmup
php bin/console cache:warmup
有効化
php bin/console eccube:plugin:enable --code <PluginCode>
キャッシュ削除&キャッシュ生成
php bin/console cache:clear --no-warmup
php bin/console cache:warmup
メンテナンス画面を解除
rm .maintenance
プラグインアップデート手順
メンテナンス画面に変更
touch .maintenance
キャッシュ削除&キャッシュ生成
php bin/console cache:clear --no-warmup
php bin/console cache:warmup
無効化
php bin/console eccube:plugin:disable --code <PluginCode>
キャッシュ削除&キャッシュ生成
php bin/console cache:clear --no-warmup
php bin/console cache:warmup
パッケージダウンロード(オーナーズストアプラグインのみ)
php bin/console eccube:composer:require ec-cube/<PluginCode>
DB・設定の反映
php bin/console eccube:plugin:update <PluginCode>
キャッシュ削除&キャッシュ生成
php bin/console cache:clear --no-warmup
php bin/console cache:warmup
有効化
php bin/console eccube:plugin:enable --code <PluginCode>
キャッシュ削除&キャッシュ生成
php bin/console cache:clear --no-warmup
php bin/console cache:warmup
メンテナンス画面を解除
rm .maintenance
プラグインアンインストール手順
メンテナンス画面に変更
touch .maintenance
キャッシュ削除&キャッシュ生成
php bin/console cache:clear --no-warmup
php bin/console cache:warmup
無効化
php bin/console eccube:plugin:disable --code <PluginCode>
キャッシュ削除&キャッシュ生成
php bin/console cache:clear --no-warmup
php bin/console cache:warmup
アンインストール(オーナーズストアプラグインのみ)
php bin/console eccube:composer:remove ec-cube/<PluginCode>
アンインストール(独自プラグインのみ)
php bin/console eccube:plugin:uninstall --code <PluginCode>
キャッシュ削除&キャッシュ生成
php bin/console cache:clear --no-warmup
php bin/console cache:warmup
メンテナンス画面を解除
rm .maintenance
コマンド詳細
メンテナンス画面に変更
touch .maintenance
キャッシュ
キャッシュ削除
php bin/console cache:clear --no-warmup
キャッシュ生成
php bin/console cache:warmup
オーナーズストアプラグイン インストール
パッケージダウンロード
php bin/console eccube:composer:require ec-cube/<PluginCode>
Composerを使って、プラグインのパッケージ(ソースコード一式)をダウンロードして配置
app/Plugin// にファイルが置かれ、composer.json / composer.lock にも依存関係が反映
インストール
php bin/console eccube:plugin:install --code <PluginCode>
すでに app/Plugin/ に置かれているプラグインを、EC-CUBEにインストール(登録)
DBの dtb_plugin テーブルへの登録、プラグインが定義しているテーブルの作成(スキーマ更新)、プラグインの install 処理などが行われる
独自プラグインインストール
インストール
php bin/console eccube:plugin:install --code <PluginCode>
すでに app/Plugin/ に置かれているプラグインを、EC-CUBEにインストール(登録)
DBの dtb_plugin テーブルへの登録、プラグインが定義しているテーブルの作成(スキーマ更新)、プラグインの install 処理などが行われる
有効化
有効化
php bin/console eccube:plugin:enable --code <PluginCode>
無効化
無効化
php bin/console eccube:plugin:disable --code <PluginCode>
オーナーズストアプラグインアンインストール
php bin/console eccube:composer:remove ec-cube/<PluginCode>
独自プラグインアンインストール
php bin/console eccube:plugin:uninstall --code <PluginCode>
オーナーズストアプラグインアップデート
ファイルの更新
php bin/console eccube:composer:require ec-cube/<PluginCode>
新しいバージョンのプラグインのソースコードを取得し、app/Plugin// を最新の内容に更新
特定バージョンにしたい場合は ec-cube/:1.2.0 のようにバージョンを付けて指定
DB・設定の反映
php bin/console eccube:plugin:update <PluginCode>
dtb_plugin のバージョン情報を更新
プラグインのエンティティ変更に合わせたスキーマ更新を実行
プラグイン側に定義された update 処理(マイグレーションなど)を実行
独自プラグインアップデート
php bin/console eccube:plugin:update <PluginCode>
dtb_plugin のバージョン情報を更新
プラグインのエンティティ変更に合わせたスキーマ更新を実行
プラグイン側に定義された update 処理(マイグレーションなど)を実行
メンテナンス画面を解除
rm .maintenance