@scandipwa/magento-scripts-php-extensions
v1.0.7
Published
PHP extension configurations for CMA
Downloads
8
Keywords
Readme
magento-scripts-php-extensions
This extension simplifies installation of memcached, pdo_sqlsrv, sqlsrv and ionCube extensions in CMA project.
Installation
Install package.
npm i @scandipwa/magento-scripts-php-extensions # with yarn yarn add @scandipwa/magento-scripts-php-extensions
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 } } } };
Run
magento-scripts
npm start # with yarn yarn start
Demo
Demo setup available here