Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.01 KB

File metadata and controls

51 lines (35 loc) · 1.01 KB

magento-scripts-php-ioncube-extension

This extension simplifies installation of ionCube extension in CMA project.

Installation

  1. Install package.

    npm i @scandipwa/magento-scripts-php-ioncube-extension
    
    # with yarn
    
    yarn add @scandipwa/magento-scripts-php-ioncube-extension
  2. Enable extension in cma.js

    // cma.js
    const ioncube = require('@scandipwa/magento-scripts-php-ioncube-extension');
    
    /** @type {import('@scandipwa/magento-scripts').CMAConfiguration} */
    module.exports = {
        magento: {
            // ... magento config
        },
        configuration: {
            php: {
                extensions: {
                    ioncube // <- set extension here
                }
            }
        }
    };
  3. Run magento-scripts

    npm start
    
    # with yarn
    
    yarn start

Demo

Demo setup available here