@scandipwa/magento-scripts-php-extensions

1.0.7 • Public • Published

magento-scripts-php-extensions

This extension simplifies installation of memcached, pdo_sqlsrv, sqlsrv and ionCube extensions in CMA project.

Installation

  1. Install package.

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

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

    npm start
    
    # with yarn
    
    yarn start

Demo

Demo setup available here

Readme

Keywords

none

Package Sidebar

Install

npm i @scandipwa/magento-scripts-php-extensions

Weekly Downloads

10

Version

1.0.7

License

OSL-3.0

Unpacked Size

16.8 kB

Total Files

9

Last publish

Collaborators

  • alfredsgenkins
  • bot-scandipwa
  • ejnshtein
  • aleksandrskondratjevs