Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Replace minifiers (css/js) #13819
The current minifiers for JS/CSS rely on a library by Douglas Crockford and its license is "BSD with restriction".
We need to remove this library and replace it with one that does not have restrictions or roll out a in-house implementation.
The library needs to be removed from v4 but the Phalcon classes will remain as they are, returning back (for now) the original file i.e. pretty much doing nothing. This is in order to keep SemVer happy when we do roll out the new minifying library (in future versions of v4)
Less is more. If there is a solution for this then it is likely using a composer package. It would be nice in the future if Phalcon could have an official ecosystem of supporting PHP-land packages which are designed to act as glue code between other famous libraries.
@niden Is there a way to augment the filter factory from PHP land? If not then please design the API so that more filters could be added (if its not already).