matthiasmullie / minify

CSS & JavaScript minifier, in PHP. Removes whitespace, strips comments, combines files (incl. @import statements and small assets in CSS files), and optimizes/shortens a few common programming patterns.
https://matthiasmullie.github.io/minify/
MIT License
1.96k stars 310 forks source link

How do you use this without Composer?? #339

Closed ghost closed 3 years ago

ghost commented 3 years ago

As the title says, I'm trying to include this without Composer but I can't get anything to work. Any ideas how I might be able to get it working?

jp-onsite commented 3 years ago

you can download everything to your local development machine with composer. After that you can copy everything to your target system. you dont need composer on the target system. require '/libs/autoload.php'; in your php code before working with minifier

matthiasmullie commented 3 years ago

This should work: https://github.com/matthiasmullie/minify/issues/83