Add a new Class to Minfiy Script from GitHub -- 2

Cancelled Posted 7 years ago Paid on delivery
Cancelled Paid on delivery

I need a new function for this script : [url removed, login to view]

Currently the script can minify JS and CSS.

I need a possibility to minify PHP files with the same script.

So your task is to add a class to the existing Githib Script that will minify PHP code, with all of the features of the JS minifier class.

For example it must be possible to use this like :

<code>

use MatthiasMullie\Minify;

$sourcePath = '/path/to/source/php/[url removed, login to view]';

$minifier = new Minify\PHP($sourcePath);

// we can even add another file, they'll then be

// joined in 1 output file

$sourcePath2 = '/path/to/second/source/php/[url removed, login to view]';

$minifier->add($sourcePath2);

</code>

This should be a very fast task for someone who know PHP.

I don't talk with freelancers who need to adjust their bid.

You have to work on your own (local)host. I only need the extended repository.

The extension must work with PHP 7 and without composer support.

PHP Software Architecture

Project ID: #13197552

About the project

2 proposals Remote project Active 7 years ago