Skip to content

Installation

Cédric Belin edited this page May 6, 2022 · 6 revisions

Requirements

Before installing Gulp-PHP-Minify, you need to make sure you have Node.js and npm, the Node.js package manager, up and running.

You can verify if you're already good to go with the following commands:

node --version
# v18.1.0

npm --version
# 8.8.0

Installing with npm package manager

1. Install it

From a command prompt, run:

npm install @cedx/gulp-php-minify

2. Import it

Now in your JavaScript code, you can use:

import phpMinify from "@cedx/gulp-php-minify";
Clone this wiki locally