1.0.3 • Published 1 year ago

gulp-php-ioncube-encrypt v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Introduction

The GULP module gulp-php-ioncube-entrypt allows the simple use of the PHP encoder (https://www.ioncube.com) within a GULP script. It requires the encoder to be installed.

Installation

npm install gulp-php-ioncube-encrypt

Usage

import ioncube from 'gulp-php-ioncube-encrypt';

gulp.src(['./package.zip'])
	.pipe(ioncube('http://ioncube.mycompany.local/api/encrypt?encoder=81'))
	.pipe('package_encoded.zip')
	.pipe(gulp.dest('./'));

or

const ioncube = require('gulp-php-ioncube-encrypt');

gulp.src(['./package.zip'])
	.pipe(ioncube('http://ioncube.mycompany.local/api/encrypt?encoder=81'))
	.pipe('package_encoded.zip')
	.pipe(gulp.dest('./'));